| When do you most often use dotted lists and unquote-splicing in your code? --- I'll start. The only time I find myself writing dotted lists is in the parameter lists of functions and macros, where I use them all the time to name rest parameters: (def foo (x . args) blah)
As for unquote-splicing, most often I use it to splice rest parameters into macro definitions: (mac bar body
`(blah ,@body))
I'm not sure this is the only case I have for using unquote-splicing, but it is by far my most common one. |