Created
May 2, 2018 13:52
-
-
Save exarkun/6a8c88eb1d38214e11abfd5490b72154 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
let run_loop main = | |
Pervasives.print_string "reading program\n"; | |
let instructions = read_line () in | |
Pervasives.print_string "read program\n"; | |
let open Tezos_error_monad.Error_monad in | |
Pervasives.print_string "running program\n"; | |
main instructions >>=? fun () -> | |
return () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment