> Personally however, I recommend against such a macro ...
> This is the kind of feature where everyone's got their own favorite
syntax for it.
>
+1 on this wisdom, for this particular construct.  I used my own
personalized macro for several years, but finally decided it wasn't worth
the cost of having to re-write bits, whenever I shared/showed code-snippets
with others.  (As a teacher, I might do this more often than you, though.)

Also, in this particular case, my chafing at the extra-characters was
ameliorated by a tip from Eli Barzilay: drop the space after the "λ", e.g.
 `(λ(n) (+ n 1))`.  It's still quite readable, and whittles away at the
character-savings the other macros are providing.


> Here's various examples ... with these packages:
>
@Jack: Thanks for taking the time to include those examples (I wouldn't
have bothered looking up all three, just given the package-names).

--Ian

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to