Re: [racket-users] Why is this exception giving me an arity error?

2017-02-17 Thread David Storrs
...And now it works for me too. Okay, that was strange. Sorry to bother everyone. On Fri, Feb 17, 2017 at 1:55 PM, Shu-Hung You < shu-hung@eecs.northwestern.edu> wrote: > This works completely fine on a fresh racket REPL: > > > (exn:fail:bmtc:unknown-user "message" (current-continuation-mar

Re: [racket-users] Why is this exception giving me an arity error?

2017-02-17 Thread Shu-Hung You
This works completely fine on a fresh racket REPL: > (exn:fail:bmtc:unknown-user "message" (current-continuation-marks) "bob") (exn:fail:bmtc:unknown-user "message" # "bob") I guess there might be some inconsistency in REPL states. Starting a fresh racket should work, or maybe use (enter! "./modu

[racket-users] Why is this exception giving me an arity error?

2017-02-17 Thread David Storrs
I have the following file: #lang racket (provide (all-defined-out)) (struct exn:fail:bmtc exn:fail () #:extra-constructor-name make-exn:fail:bmtc #:transparent) ;; I expect this to take all the arguments from exn (its ultimate superclass), plus a new argument which comes last. (struct