mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add a section header for the instances.
This commit is contained in:
parent
14c12b3582
commit
ae9fc6ea4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user