Created
September 15, 2017 04:34
-
-
Save kejadlen/4f9f7c8bd64586a8928b8a8584126053 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 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