Two notes:

1. It is unsafe to expose mutable data to untyped code via exceptions
without wrapping them. If you `(raise f)`, then untyped code could
catch the exception and call `f`.

2. You should inherit from `exn:fail` -- other `exn` types are for
non-standard exceptions such as `exn:break`.

Sam

On Fri, Dec 1, 2017 at 2:24 PM, Ben Greenman
<benjaminlgreen...@gmail.com> wrote:
> That name sounds good to me.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to