summaryrefslogtreecommitdiff
path: root/lib/top.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-23 18:45:10 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-23 18:45:10 -0400
commitb887dcf43ab2e92d31eaead41398c639fe36edd5 (patch)
tree6d1b3b0450e7d90ffb86bc43ce2c479ba9b7c78f /lib/top.ur
parenta6eb484bd588045d401e61fed64fac553e0e3395 (diff)
Crud2 demo
Diffstat (limited to 'lib/top.ur')
-rw-r--r--lib/top.ur2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/top.ur b/lib/top.ur
index 91cab991..0bc345de 100644
--- a/lib/top.ur
+++ b/lib/top.ur
@@ -1,3 +1,5 @@
+fun not b = if b then False else True
+
con idT (t :: Type) = t
con record (t :: {Type}) = $t
con fstTT (t :: (Type * Type)) = t.1