1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Derive a Foldable instance for Syntax.

This commit is contained in:
Rob Rix 2015-11-25 10:58:02 -05:00
parent 15868b77ae
commit abf8c693b3

View File

@ -7,4 +7,4 @@ data Syntax a f =
| Indexed [f]
| Fixed [f]
| Keyed (Map String f)
deriving (Functor, Show, Eq)
deriving (Functor, Show, Eq, Foldable)