summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-09 12:31:56 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-09 12:31:56 -0400
commita8cf53e348e3b6d99a66a897f90de9aa523c9b40 (patch)
treedddbb02bac0b5dae304255f3ba1f8f95d7af21a6 /lib
parentbbe4225bd2c99d8f3e279911dd0b52bbd2281646 (diff)
Made type class system very general; demo compiles
Diffstat (limited to 'lib')
-rw-r--r--lib/ur/basis.urs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index d69ddfcb..87f20d6b 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -71,7 +71,7 @@ val read_time : read time
(** * Monads *)
-class monad :: Type -> Type
+class monad :: (Type -> Type) -> Type
val return : m ::: (Type -> Type) -> t ::: Type
-> monad m
-> t -> m t