[ 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
>>>
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")
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!
3 matches
Mail list logo