Page 1 of 1
Overlooked Featues in Common Lisp
Posted: Thu May 15, 2014 10:14 pm
by Pixel_Outlaw
Common Lisp is a fairly big language.
I'm trying to get an idea of features I might have missed while reading books.
Does anyone have features of the language that they feel are often overlooked but really neat to know?
Re: Overlooked Featues in Common Lisp
Posted: Fri May 16, 2014 1:34 am
by marcoxa
One of my favorites is DEFSTRUCT constructors. I blogged about it some time ago (gosh! quite some time ago)
http://within-parens.blogspot.it/2011/0 ... ricks.html. It turns out that you can do even trickier tricks with DEFSTRUCT constructors, as Pascal Costanza just pointed out at ELS 2014.
Cheers
--
MA
Re: Overlooked Featues in Common Lisp
Posted: Fri May 16, 2014 2:33 am
by Goheeca
The capabilities of an output formatting and the loop macro, which are good to explore thoroughly. Since they are own complex DSLs in the standard CL.
Re: Overlooked Featues in Common Lisp
Posted: Fri May 16, 2014 8:25 am
by marcoxa
Yep. The PRETTY-PRINTER is quite a piece of software/api. Of course I blogged about it too
http://within-parens.blogspot.it/2011/0 ... -xhtm.html
Re: Overlooked Featues in Common Lisp
Posted: Sat May 17, 2014 8:54 am
by Pixel_Outlaw
Some very good suggestions. I have the feeling there is far more complexity to the CLOS than there appreas too.