Ah I understand now. That's a very useful technique for recursive
backquotes. I'm going to be using it constantly now. Until I can
reason about recursive backquotes in my head at least.

My macro is a little simplified. It only works for functions that take
no arguments. With a minimal change, you can write a version of
defblockfn that accepts functions that take arguments. This is as far
as Ruby takes the concept, and no further.

This allows us to write, for example:

(my_map list_of_numbers
  [num] (* num num))

It's up to you to judge whether this looks nice enough to consider
using it. In my opinion, this is starting to look a little
unappealing.
  -Patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to