aboutsummaryrefslogtreecommitdiff
path: root/lib/SATS/init.sats
blob: 83b5e8d8229dbd8af503fc45ff66bc2379400b50 (plain)
1
2
3
4
viewtypedef enablable (vt:viewt@ype) =
  [enabled: bool] @{ enabled = bool enabled, obj = opt (vt, enabled) }

fun {vt:viewt@ype} empty (v : opt(vt,false)): enablable vt