diff --git a/examples/repl.modal b/examples/repl.modal index 2f2b8d6..e6354c9 100644 --- a/examples/repl.modal +++ b/examples/repl.modal @@ -1,10 +1,8 @@ ?(?-) (This is a fully functional Modal REPL.) -<> (EOF wait stdin) ((Bye.\n) print) -<> (quit wait stdin) ((You quit.\n) print) -<> (?: print) (?:) +<> quit EOF +<> (?: print) ?: <> (wait ?~) (?~ wait stdin) +<> (EOF wait stdin) (Bye.\n print) -(Say something, or type "quit":\n) print - -wait stdin +(Say something, or type "quit":\n) print wait stdin