freenode/#lisp - IRC Chatlog
Search
8:56:14
srji
im using emacs, sbcl, slime and i want to know if its possible to lookup the docs of in-build functions like (mapcar)?
8:59:53
beach
Sure, you can have both the Common Lisp HyperSpec and the implementation-specific documentation.
9:04:54
beach
&REST means that, in addition to the required arguments FUNCTION and LIST, it can also take an arbitrary number of additional arguments.
9:05:41
beach
These additional arguments end up in the list MORE-LISTS. And as the name suggests, those additional arguments should be more lists.
9:06:20
beach
There is no such thing as a "lambda function". The LAMBDA operator creates an anonymous function that can be used where any other function can be used.
12:51:35
kinope
Hmm, how would I get the output from macroexpand-1 to be nicely formatted, w/ indentation and such. I've looked at setting *print-pretty* and *print-readably* to t, but that didn't seem to help.
13:00:35
kinope
Well it's not all on one line, just is missing line-breaks where you'd expect them to be, after function arguments for instance.
13:04:35
Bike
there are some ways to adjust the formatting, but what you're seeing is probably what the implementation considers good formatting
19:25:52
TwoNotes
Going crazy trying to find the right syntax to pass a c-struct by reference to a CFFI alien function (SBCL)
19:59:01
TwoNotes
Yeah, but I think it is easier to interface to existing libfoo routines that try to recreate them in Lisp
20:22:23
TwoNotes
I found bindings for the basic V4L2 stuff. CL-V4L2. It is specifically the format conversion linrary I need.
20:23:34
TwoNotes
As is usual with CL projects, I am working on something else entirely but end up spending all my time on infrastructure and these CFFI things