1
1
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:
Rob Rix 2017-03-26 21:15:10 -04:00
parent cdd3ae18c8
commit 80ae9ffe4b

View File

@ -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