Skip to content

Instantly share code, notes, and snippets.

@takikawa
Created April 16, 2014 01:23
Show Gist options
  • Save takikawa/10795791 to your computer and use it in GitHub Desktop.
Save takikawa/10795791 to your computer and use it in GitHub Desktop.
Racket:
Welcome to Racket v6.0.1.3.
-> (let () (+ x 3) (define x 3) 5)
; x: variable used before its definition [,bt for context]
->
Typed Racket:
Welcome to Racket v6.0.1.3.
-> (let () (+ x 3) (define x 3) 5)
- : Integer [more precisely: Positive-Byte]
5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment