On Tue, Jan 28, 2014 at 2:20 PM, Matthew Butterick <m...@mbtype.com> wrote: > I frequently write quasiquoted xexprs that contain this kind of pattern: > > `(p "foo" "bar" ,(when test-condition (do-something)))
I would write: `(p "foo" "bar" ,@(if test-condition (list (do-something)) null)) Sam ____________________ Racket Users list: http://lists.racket-lang.org/users