1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00

Add Try statement

This commit is contained in:
joshvera 2016-07-29 15:45:25 -04:00
parent fd1b648a9e
commit 2490d92c37

View File

@ -60,6 +60,7 @@ data Syntax
| DoWhile { doWhileBody :: f, doWhileExpr :: f }
| While { whileExpr :: f, whileBody :: f }
| Return (Maybe f)
| Try f (Maybe f) (Maybe f)
deriving (Eq, Foldable, Functor, Generic, Generic1, Mergeable, Ord, Show, Traversable)