annotate samples/compilerbug_003.tp @ 323:eb5f1fca9b78

Fix infinite loop in foldr:with
author Michael Pavone <pavone@retrodev.com>
date Mon, 23 Mar 2015 21:18:26 -0700
parents 86ebdfb33711
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
1 {
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
2 foo <- { 42 }
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
3 #{
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
4 qux <- foo:
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
5 bar <- #{
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
6
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
7 baz <- {
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
8 foo:
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
9 }
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
10
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
11 }
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
12
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
13 main <- {
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
14 print: (string: (bar baz))
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
15 }
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
16 }
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
17 }
86ebdfb33711 Add sample for fixed bug
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
18