summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-12-19 11:47:18 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-12-19 11:47:18 -0500
commit2c8e4cddb5f5c7a85337b8c42135c346b14de1f4 (patch)
tree1244a9d96e9fb847422bb0bc447d01e77cbe1e9e /lib
parent3aac0d79c1ad2da6358cf6619c62a56ddd2ed195 (diff)
Creation of sources in server code
Diffstat (limited to 'lib')
-rw-r--r--lib/basis.urs8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/basis.urs b/lib/basis.urs
index 25923870..ffba2b37 100644
--- a/lib/basis.urs
+++ b/lib/basis.urs
@@ -80,11 +80,15 @@ val bind : m ::: (Type -> Type) -> t1 ::: Type -> t2 ::: Type
-> m t1 -> (t1 -> m t2)
-> m t2
-(** ** Transactions *)
-
con transaction :: Type -> Type
val transaction_monad : monad transaction
+con source :: Type -> Type
+val source : t ::: Type -> t -> transaction (source t)
+
+con signal :: Type -> Type
+val signal_monad : monad signal
+val signal : t ::: Type -> source t -> signal t
(** HTTP operations *)