mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Define While syntax.
This commit is contained in:
parent
cdd3ae18c8
commit
80ae9ffe4b
@ -17,6 +17,12 @@ newtype Yield a = Yield a
|
||||
deriving (Eq, Show)
|
||||
|
||||
|
||||
-- Loops
|
||||
|
||||
data While a = While !a !a
|
||||
deriving (Eq, Show)
|
||||
|
||||
|
||||
-- Exception handling
|
||||
|
||||
newtype Throw a = Throw a
|
||||
|
Loading…
Reference in New Issue
Block a user