musique/examples/control-flow.mq

14 lines
149 B
Plaintext
Raw Permalink Normal View History

say (if true 4 2),
say (if false 4 2),
if true (say 4) (say 2),
if false (say 4) (say 2),
n := 0,
while (n < 5) (
say 'while n,
n = n + 1,
),