Created
May 23, 2016 05:23
-
-
Save lenary/fa0d1b1165343cdbfdffaeeeaf60c871 to your computer and use it in GitHub Desktop.
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
$ racket -iq -e "(require rosette)" | |
Welcome to Racket v6.4. | |
> (define (foo) identity) | |
> foo | |
#<procedure:foo> | |
> identity | |
#<procedure:identity> | |
> ((foo) 3) | |
free-identifier=?: contract violation | |
expected: identifier? | |
given: #<syntax::39 (foo)> | |
argument position: 1st | |
other arguments...: | |
#<syntax:/Users/ashe2/Library/Racket/6.4/pkgs/rosette/rosette/base/form/module.rkt:35:31 @define-generics> | |
context...: | |
/Users/ashe2/Library/Racket/6.4/pkgs/rosette/rosette/base/form/module.rkt:32:0 | |
/opt/homebrew-cask/Caskroom/racket/6.4/Racket v6.4/collects/racket/private/misc.rkt:87:7 | |
> (let ([this-works (foo)]) | |
(this-works 3)) | |
3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the
-q
argument to racket just stops it loading up my .racketrc, so everything remains pristine