1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00
semantic/Syntax.hs
2015-11-17 13:31:17 -08:00

13 lines
176 B
Haskell

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