[racket-dev] Quick Note / possible poll
I'm extending `add-between' by a few keyword arguments:
* #:before-last -- specifies the item to be used before the last one
(useful for generating "x, y, z and w" with `string-join' that will
get similar keywords too)
* #:first, #:last -- specifies things that go before/after the list,
simplifying cases where that's wanted
* #:splice? -- a flag that says whether all of the above three are
expected to be lists that get spliced into the result rather than
being used as plain values
I'm not sure about the last keyword -- maybe people would prefer to
have a second `add-between*' function that has the same interface but
does the splicing. For/agaist opinions welcome. (Off-list if you
want to avoid noise.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!