Created
March 7, 2013 22:04
-
-
Save takikawa/5112262 to your computer and use it in GitHub Desktop.
Mutating the type?
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
$ racket -I typed/racket | |
Welcome to Racket v5.3.3.7. | |
-> (: g (All (a ...) (a ... a -> Void))) | |
-> (define (g . rst) (void)) | |
-> g | |
- : (All (a ...) (a ... a -> Void)) | |
#<procedure:g> | |
-> (: h (All (b ...) (b ... b -> Void))) | |
-> (define h g) | |
-> g | |
- : (All (b ...) (b ... b -> Void)) | |
#<procedure:g> | |
-> h | |
- : (All (b ...) (b ... b -> Void)) | |
#<procedure:g> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment