[racket] Contracts error message

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sun Sep 8 09:40:06 EDT 2013

You are not the only one to complain :). We've been having an internal
discussion about this, actually.

In this particular, case, I think that you are using provide/contract,
right? If so, the blame really lies with the entire file edf.rkt. So there
really isn't anything more specific to say.


On Sun, Sep 8, 2013 at 4:20 AM, antoine <antoine597 at gmail.com> wrote:

> Hello,
> I have just start using contracts in racket, but i am a bit disapointed by
> the
> error message they give to me.
> example contract error:
>  add-number: contract violation
>  expected: number?
>  given: "1"
>  in: the 2nd argument of
>       (-> number? number? number?)
>  contract from: abc.rkt
>  blaming: edf.rkt
>  at: abc.rkt:5.3
> I would have expected to have the line and column number in the blaming
> line
> like what you could get from a stacktrace.
> Is it possible in contracts?
> Am i the only one to complain? :)
> Thanks you in advance.
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/**users <http://lists.racket-lang.org/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130908/4977fd42/attachment.html>

Posted on the users mailing list.