Skip to content

Instantly share code, notes, and snippets.

@kejadlen
Created September 15, 2017 04:34
Show Gist options
  • Save kejadlen/4f9f7c8bd64586a8928b8a8584126053 to your computer and use it in GitHub Desktop.
Save kejadlen/4f9f7c8bd64586a8928b8a8584126053 to your computer and use it in GitHub Desktop.
#lang typed/racket
(define num-update
(lambda (#:main [main : Number 0] #:reserve [reserve : Number 1])
(list main reserve)))
(print (num-update))
(print (num-update #:main 2))
(print (num-update #:reserve 2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment