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] Re: Why is this exception giving me an arity error?

2017-02-17 Thread David Storrs
Oh. When I change the name to exn:fail:bmtc:unknownuser it works fine. I guess '-' is a disallowed character for exceptions? -> (struct exn:fail:bmtc:unknownuser exn:fail:bmtc (username) #:transparent) -> (exn:fail:bmtc:unknownuser "msg" (current-continuation-marks) "foo") (exn:fail:bmtc:unkno

[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

Re: [racket-users] Drawing arbitrary binding arrows with Check Syntax

2017-02-17 Thread Robby Findler
[ sorry for the long delay in getting back to this ] On Wed, Oct 19, 2016 at 11:56 AM, Alex Knauth wrote: > >> On Oct 19, 2016, at 12:26 PM, Alexis King wrote: >> >>> On Oct 19, 2016, at 4:06 AM, Robby Findler >>> wrote: >>> >>> That's the best approach we currently have. Of course, we could s