1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Add a section header for the instances.

This commit is contained in:
Rob Rix 2017-05-03 09:35:51 -04:00
parent 14c12b3582
commit ae9fc6ea4f

View File

@ -165,6 +165,9 @@ data AssignmentState grammar = AssignmentState
}
deriving (Eq, Show)
-- Instances
instance Enum symbol => Alternative (Assignment (Node symbol)) where
empty = Empty `Then` return
a <|> b = case (a, b) of