diff options
Diffstat (limited to 'lib/SATS')
-rw-r--r-- | lib/SATS/init.sats | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/SATS/init.sats b/lib/SATS/init.sats index c9d9d89..676657b 100644 --- a/lib/SATS/init.sats +++ b/lib/SATS/init.sats @@ -2,3 +2,7 @@ viewtypedef initializable (vt:viewt@ype) = [initialized: bool] @{ initialized = bool initialized, obj = opt (vt, initialized) } fun {vt:viewt@ype} uninitialized (v : opt(vt,false)): initializable vt + +fun {vt:viewt@ype} init_exec (x : &(initializable vt)):<!wrt> void +fun {vt:viewt@ype} init_exec$fwork (v : &vt):<!wrt> void + |