[racket] Contracts error message

From: antoine (antoine597 at gmail.com)
Date: Sun Sep 8 05:20:40 EDT 2013

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.

Posted on the users mailing list.