13 lines
284 B
Haskell
13 lines
284 B
Haskell
module Base (
|
|
Ind,
|
|
Wordform,
|
|
Arc (Head,Dep)
|
|
) where
|
|
|
|
type Ind = Int
|
|
type Wordform = String
|
|
data Arc τ = Head { role :: τ, dst :: Ind }
|
|
| Dep { role :: τ, dst :: Ind }
|
|
deriving (Show,Eq,Ord)
|
|
|