mirror of
https://github.com/github/semantic.git
synced 2025-01-04 21:47:07 +03:00
Define a Boolean effect.
This commit is contained in:
parent
477e34aca2
commit
30c0090ebd
@ -111,6 +111,11 @@ data Unit value return where
|
||||
Unit :: Unit value value
|
||||
|
||||
|
||||
data Boolean value return where
|
||||
Bool :: Bool -> Boolean value value
|
||||
AsBool :: value -> Boolean value Bool
|
||||
|
||||
|
||||
data Value m location
|
||||
= Closure [Name] (m (Value m location)) (Map Name location)
|
||||
| Unit'
|
||||
|
Loading…
Reference in New Issue
Block a user