mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 00:39:32 -06:00
translated TODO to english, restructured to fit with todoo-mode.el
This commit is contained in:
@@ -44,6 +44,13 @@ data TTerm = Constr :@ [TTerm]
|
||||
| TVar Var
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
{-- andra ordningens funktioner:
|
||||
data Decl c = Decl Var [(c,[TTerm])] (c,[TTerm])
|
||||
-- (A -> B) ==> Decl _ [(A,[])] (B,[])
|
||||
-- (A -> B -> C) ==> Decl _ [(A,[]), (B,[])] (C,[])
|
||||
-- (y : A t x -> B (t x)) ==> Decl y [(A,[t:@[],TVar x])] (B,[t:@[TVar x]])
|
||||
-}
|
||||
|
||||
decl2cat :: Decl c -> c
|
||||
decl2cat (Decl _ cat _) = cat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user