1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
semantic/src/Syntax.hs
2015-11-17 16:17:42 -08:00

11 lines
151 B
Haskell

module Syntax where
import Data.Map
data Syntax a f =
Leaf a
| Indexed [f]
| Fixed [f]
| Keyed (Map String f)
deriving (Functor, Show, Eq)