On 02.03.2009, at 18:48, Matthew D. Swank wrote:

> Why is it necessary to pass a dummy result in the conditional code:
>
>     (if (identical? bform :when)
>       (list 'm-bind `(if ~expr (~'m-result ::any) ~'m-zero)
>           (list 'fn ['_] mexpr))
>        ...
> Why not:
>
>     (if (identical? bform :when)
>       `(if ~expr ~mexpr ~'m-zero)
>       .....
> as (m-bind m-zero f) <==> m-zero (since we're being pure)

At first look it seems your simplified version is indeed equivalent.  
I will look at it again tomorrow after a good night's sleep :-)

Konrad.


--~--~---------~--~----~------------~-------~--~----~
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