modal/examples/io_read.modal

9 lines
197 B
Plaintext

<> (read ?~) (?~)
<> (?: print ') (?:)
<> (' ?x) (?x ')
(Tell me three things: \n) print '
' (You said: read stdin
\nthen, you continued: read stdin
\nfinaly, you concluded: read stdin \n) print