translated TODO to english, restructured to fit with todoo-mode.el

This commit is contained in:
peb
2006-03-22 12:38:47 +00:00
parent 2e25df8941
commit e6beca01cb
2 changed files with 193 additions and 169 deletions

View File

@@ -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