diff lib/ur/basis.urs @ 711:7292bcb7c02d

Made type class system very general; demo compiles
author Adam Chlipala <adamc@hcoop.net>
date Thu, 09 Apr 2009 12:31:56 -0400
parents 0406e9cccb72
children 915ec60592d4
line wrap: on
line diff
--- a/lib/ur/basis.urs	Tue Apr 07 20:38:01 2009 -0400
+++ b/lib/ur/basis.urs	Thu Apr 09 12:31:56 2009 -0400
@@ -71,7 +71,7 @@
 
 (** * Monads *)
 
-class monad :: Type -> Type
+class monad :: (Type -> Type) -> Type
 val return : m ::: (Type -> Type) -> t ::: Type
              -> monad m
              -> t -> m t