X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mTask.dcl;fp=mTask.dcl;h=2a826790e4d94a17f24420bb2690be44145170ee;hb=3fe035b92e9bc0b745c57db64e78461b2f36b6d1;hp=955b28ab3c0a93f356272310218f07f2f7feb3cd;hpb=ccf50ec9be06bc1b418b25225ca76d6e6ce743ac;p=mTask.git diff --git a/mTask.dcl b/mTask.dcl index 955b28a..2a82679 100644 --- 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