Created
October 13, 2017 09:21
-
-
Save 45deg/055cd32e8723ead25a64d8256f292f03 to your computer and use it in GitHub Desktop.
Eff-lang example
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
let printName () = | |
let name = std#read () in | |
print ("hello " ^ name);; | |
let inputJohn = handler | |
| std#read () k -> k "john" | |
;; | |
with inputJohn handle printName ();; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment