Created
January 3, 2015 18:35
-
-
Save pnwamk/e5c5437ee5a686b662e4 to your computer and use it in GitHub Desktop.
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
#lang typed/racket | |
(define (foo [x : Any]) : Number | |
(let ([x* x]) | |
(begin | |
(set! x* "sneaky string") | |
(if (number? x) | |
x* | |
42)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment