[racket-dev] [plt] Push #27090: master branch updated

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Jul 8 10:07:40 EDT 2013


On Jul 7, 2013, at 12:08 AM, Eli Barzilay <eli at barzilay.org> wrote:

> It would be nice to have some way of doing it with contracts, but
> that's obviously impractical -- so I think that a good way to solve it
> and other such problems is to add a parameter for the name used in
> read errors, and making `raise-read-error' behave in a similar way to
> `raise-syntax-error' with the parameter used as the `foo:' part of the
> error message.


Boy I like this. I can't remember how often I have code up something like '#:function' and thought this is a general problem worthy of a solution. 

Posted on the dev mailing list.