[racket] Onlisp's condlet macro in Racket

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Jan 2 22:09:36 EST 2013

On Jan 2, 2013, at 5:46 PM, Sean Kanaley wrote:

> What makes you say condlet is questionable?  Are there built in racket primitives or library extensions that achieve similar goals?  It is just a bad way to program, perhaps because of "randomly" bound nulls?


(condlet ((false (x 0))
              (true (y 1))))
  ...)

does not make me think y x should be bound at all in the body of condlet. 

So yes, initializing a bunch of default values of '() and to 'override' them with 'good' values just seems wrong. 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130102/fba73436/attachment.html>

Posted on the users mailing list.