mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Rename the Annotated field accessors.
This commit is contained in:
parent
53413003c6
commit
ff57f0db46
@ -10,7 +10,7 @@ import Syntax
|
||||
import Term
|
||||
|
||||
-- | An annotated syntax in a diff tree.
|
||||
data Annotated a annotation f = Annotated { getAnnotation :: !annotation, getSyntax :: !(Syntax a f) }
|
||||
data Annotated a annotation f = Annotated { annotation :: !annotation, syntax :: !(Syntax a f) }
|
||||
deriving (Functor, Eq, Show, Foldable)
|
||||
|
||||
-- | An annotation for a source file, including the source range and semantic
|
||||
|
Loading…
Reference in New Issue
Block a user