[racket-dev] case-> and for/sum:
2013/1/4 Neil Toronto <neil.toronto at gmail.com>:
> I gave `for/sum:' a little thought recently, though, and I couldn't think of
> how to make it work without annotations. Maybe you'll have more success. I'm
> less motivated to fix `for/sum:' than you are. :D
Here is my attempt. The only problem, is that when type checking
fails, the set! expression is blamed instead of user code.
/Jens Axel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: for-sum.rkt
Type: application/octet-stream
Size: 3164 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130105/284d904b/attachment.obj>