1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 14:11:33 +03:00

Add a For category

This commit is contained in:
joshvera 2016-07-28 13:48:44 -04:00
parent c11d955f57
commit 534de558f0

View File

@ -2,8 +2,7 @@ module Category where
import Prologue import Prologue
import Data.Hashable import Data.Hashable
import Test.QuickCheck (oneof, Arbitrary, arbitrary, shrink) import Test.QuickCheck hiding (Args)
import Test.QuickCheck.Arbitrary
import Data.Text (unpack) import Data.Text (unpack)
import Data.Text.Arbitrary() import Data.Text.Arbitrary()
@ -62,6 +61,8 @@ data Category
| VarDecl | VarDecl
-- | A switch expression. -- | A switch expression.
| Switch | Switch
-- | A for expression.
| For
-- | A ternary expression. -- | A ternary expression.
| Ternary | Ternary
-- | A case expression. -- | A case expression.