Created
September 1, 2017 06:59
-
-
Save ktakashi/da934fe61a5775d75b51bafc43de34f8 to your computer and use it in GitHub Desktop.
Error on overriding imported variable
This file contains hidden or 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
(import (rnrs)) | |
(define (+ a b) "blabla") | |
(+ 1 2) | |
#| | |
$ sagittarius -r6 override.scm | |
Unhandled exception | |
Condition components: | |
1. &compile | |
program: (program (import (rnrs)) (define (+ a b) "blabla") (display | |
source: #f | |
2. &syntax | |
subform: (+) | |
form: (define (+ a b) "blabla") | |
3. &message attempt to modify immutable variable | |
4. &stack-trace | |
stack trace: | |
[1] syntax-error | |
[2] pass1/library | |
[3] with-error-handler | |
[4] dynamic-wind | |
[5] eval | |
[6] program-r6rs | |
|# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment