Skip to content

Instantly share code, notes, and snippets.

@takikawa
Last active August 29, 2015 13:55
Show Gist options
  • Save takikawa/8718310 to your computer and use it in GitHub Desktop.
Save takikawa/8718310 to your computer and use it in GitHub Desktop.
Progress on type-checking mixed-type annotation lambdas
Welcome to Racket v6.0.0.1.
-> (lambda ([a : Integer] b c) (+ a 1))
- : (Integer Any Any -> Integer)
#<procedure>
-> (lambda ([a : Integer] b c #:d [d : String "foo"]) (string-append d "bar") (+ a 1))
- : (Integer Any Any [#:d String] -> Integer)
#<procedure:readline-input:3:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment