1
1
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:
Rob Rix 2016-03-02 11:52:20 -05:00
parent 53413003c6
commit ff57f0db46

View File

@ -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