summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-03 11:04:25 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-03 11:04:25 -0400
commitb2eb9f45b9b14e5c7f53d0ad7ca8e84aa7858b59 (patch)
treecd4847d16103c7bdbfba1ece0416497bb28d05d8 /tests
parente8002363e5d7764edf9a06ec0717f212ebbee26f (diff)
Fancier head normalization pushed inside of Disjoint
Diffstat (limited to 'tests')
-rw-r--r--tests/cfold_disj.lac5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cfold_disj.lac b/tests/cfold_disj.lac
new file mode 100644
index 00000000..e0a19484
--- /dev/null
+++ b/tests/cfold_disj.lac
@@ -0,0 +1,5 @@
+con id = fold (fn nm => fn t :: Type => fn acc => [nm] ~ acc => [nm = t] ++ acc) []
+
+con idT = id [D = int, E = float]
+
+val idV = fn x : $idT => x.E