mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
11 lines
151 B
Haskell
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)
|