[racket] Metaprogramming with scheme

From: Noel Welsh (noelwelsh at gmail.com)
Date: Wed Jun 23 16:49:34 EDT 2010

On Wed, Jun 23, 2010 at 1:44 PM, Valeriya Pudova
<valery at digitalchile.net> wrote:
> Looks not bad. But if error will be at the top level
...
> (+ 1 "2")
>
> Then error message is not informative
>
> +: expects type <number> as 2nd argument, given: "2"; other arguments were:
> 1
> C:\Racket\collects\racket\private\map.rkt:45:11: for-each
...
>
> It does not reffer to the error location. Can it be solved?

I suppose the errortrace library might give you more location
information. I have never used it so I can't say much more than read
the docs and/or hope someone else replies.

HTH,
N.


Posted on the users mailing list.