Skip to content

Instantly share code, notes, and snippets.

@takikawa
Created July 11, 2012 19:36
Show Gist options
  • Save takikawa/3092722 to your computer and use it in GitHub Desktop.
Save takikawa/3092722 to your computer and use it in GitHub Desktop.
scheme/unit vs. racket/unit
asumu@willamette:~/plt/racket-git-2$ racket -I racket/base
Welcome to Racket v5.3.0.13.
-> (require scheme/unit)
-> struct
; readline-input:2:0: struct: illegal use of signature form
in: struct [,bt for context]
-> struct/ctc
; readline-input:3:0: struct/ctc: illegal use of signature form
in: struct/ctc [,bt for context]
->
asumu@willamette:~/plt/racket-git-2$ racket -I racket/base
Welcome to Racket v5.3.0.13.
-> (require racket/unit)
-> struct
; readline-input:2:0: struct: bad syntax
in: struct [,bt for context]
-> struct/ctc
; readline-input:3:0: struct/ctc: illegal use of signature form
in: struct/ctc [,bt for context]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment