| redwyrm | how would I declare one of these? I take it the vector function doesn't do this |
| foom | look at the arguments to make-array |
| nyef | redwyrm: The :FILL-POINTER option for MAKE-ARRAY. |
| foom | as pointed out above, you often also want adjustable with your fill-pointer. |
| redwyrm | are arrays and vectors the same? |
| nyef | redwyrm: No, vectors are a subset of arrays. Sortof. |
| foom | arrays can be multidimensional e.g. (make-array '(4 4 4)) |
| redwyrm | ah, k |
| nyef | Ugh. 1:10ish already? I knew that afternoon nap was a bad idea. :-/ |
| mvilleneuve | morning |
| marvinalone | so i'm trying to use the series package in clisp, and i run (asdf:operate 'asdf:load-op :series) to load it, and then (use-package 'series) to use it the call to use-package complains that the sympol series is defined twice, once in series, and once in common-lisp-user what do i do? |
| jdz | use the correct restart |
| antifuchs | you define your own package (using defpackage) |
| jdz | or instead of (use-pakage 'series) do (use-package :series) |
| marvinalone | jdz: what's the difference between the two? jdz: (that works, btw) |
| jdz | i know it works :) marvinalone: i suggest you read about symbols marvinalone: and the lisp reader |
| luis | marvinalone: it's actually quite funny. |
| marvinalone | luis: what is? symbols and the lisp reader? |
| luis | marvinalone: when you say 'series in the cl-user package, you're interning the cl-user::series symbol. marvinalone: and immediately afterward you're importing the series:series symbol (and many others) so there's a clash |
| marvinalone | oh, i see well, thanks, that helped. both did. :-) |
| antifuchs | hi gigamonkey! |
| neilv | my first slime enhancement: highlighting the frame expressions in the backtrace when you mouse over them |
| redwyrm | cool is this non-standard code? ((lambda (x) (* x x)) 4) |
| Zhivago | no |
| redwyrm | ah, good |
| Zhivago | but it is not commonly used |
| redwyrm | I have a function that returns a lambda, and I want to execute it but ((func) arg) gives an illegal function call error Zhivago, what do you think? |