diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-12-19 11:47:18 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-12-19 11:47:18 -0500 |
commit | ed7c55c7d3d47e59b73cda4d1d7663bec6728934 (patch) | |
tree | 1244a9d96e9fb847422bb0bc447d01e77cbe1e9e /lib | |
parent | a2854d6b8db55b9c6e69d16262ea182ab9bd307d (diff) |
Creation of sources in server code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/basis.urs | 8 |
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 *) |