mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +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)
|
deriving (Eq, Show)
|
||||||
|
|
||||||
|
|
||||||
|
-- Instances
|
||||||
|
|
||||||
instance Enum symbol => Alternative (Assignment (Node symbol)) where
|
instance Enum symbol => Alternative (Assignment (Node symbol)) where
|
||||||
empty = Empty `Then` return
|
empty = Empty `Then` return
|
||||||
a <|> b = case (a, b) of
|
a <|> b = case (a, b) of
|
||||||
|
Loading…
Reference in New Issue
Block a user