2 ms·
No problem whatsoever! I only wish I could have done it better. I do like the way the Idris REPL does that, from your description. Didn't know that. How do you
by kqr 8y ago
No problem whatsoever! I only wish I could have done it better.
I do like the way the Idris REPL does that, from your description. Didn't know that. How do you run it for effects?
- cannam 8y agoUsing the :exec REPL command. Idris> putStrLn "Hello, world!" io_bind (prim_write "Hello, world!\n") (\__bindx => io_pure ()) : IO () Idris> :exec putStrLn "Hello, world!" Hello, world!