Last active
August 4, 2018 14:28
-
-
Save greghendershott/2d45daf8ee59e4c9e5aa5f516440daf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket/base | |
(module m racket/base | |
(provide (struct-out exn:fail) | |
(rename-out [exn-message exn:fail-message] | |
[exn-continuation-marks exn:fail-continuation-marks]))) | |
(require 'm) | |
(define e (exn:fail "foo" (current-continuation-marks))) | |
(exn-message e) ;still works | |
(exn:fail-message e) ;also works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment