Created
November 11, 2019 10:01
-
-
Save shirok/60f1e35e99fad90b2a886994781debd8 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
(define-syntax err | |
(er-macro-transformer | |
(^[f r c] | |
(let1 p ((with-module gauche.internal extended-cons) 'error (cdr f)) | |
((with-module gauche.internal pair-attribute-set!) p 'source-info (debug-source-info f)) | |
`(begin ,p #f))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment