named sds's
[mTask.git] / mTask.dcl
index 955b28a..2a82679 100644 (file)
--- a/mTask.dcl
+++ b/mTask.dcl
@@ -90,6 +90,8 @@ class var2 v where
 class sds v where
   sds :: ((v t Upd)->In t (Main (v c s))) -> (Main (v c s)) | type, mTaskType, toCode t
   con :: ((v t Expr)  ->In t (Main (v c s))) -> (Main (v c s)) | type t
+class namedsds v where
+  namedsds :: ((v t Upd)->In (Named t String) (Main (v c s))) -> (Main (v c s)) | type, mTaskType, toCode t
 class sdspub v where
   pub :: (v t Upd) -> v t Expr | type t
 class seq v where
@@ -192,6 +194,7 @@ instance typeSelector Bool
 instance typeSelector a
 
 :: In a b = In infix 0 a b
+:: Named a b = Named infix 1 a b
 
 read` :: Int (ReadWrite a) State` -> (a,State`) | dyn a