comparison samples/logical.tp @ 126:a2d2d8e09291

Merge
author Mike Pavone <pavone@retrodev.com>
date Mon, 05 Aug 2013 23:37:17 -0700
parents 59a94f3ad56f
children
comparison
equal deleted inserted replaced
125:6f8d868e8da0 126:a2d2d8e09291
1 #{
2
3 foo <- {
4 print: "foo\n"
5 true
6 }
7
8 bar <- {
9 print: "bar\n"
10 false
11 }
12
13 baz <- {
14 print: "baz\n"
15 true
16 }
17
18 qux <- {
19 print: "shouldn't be printed\n"
20 true
21 }
22
23
24 main <- {
25 foo && bar || (baz || qux)
26 }
27
28 }