1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Annotated is Foldable.

This commit is contained in:
Rob Rix 2015-12-01 10:12:52 -05:00
parent 7740654d68
commit 932e07d47d

View File

@ -9,7 +9,7 @@ import Term
import Categorizable
data Annotated a annotation f = Annotated annotation (Syntax a f)
deriving (Functor, Eq, Show)
deriving (Functor, Eq, Show, Foldable)
data Range = Range { start :: Int, end :: Int }
deriving (Eq, Show)