1
0
forked from GitHub/gf-core

more on romance

This commit is contained in:
aarne
2005-02-11 08:11:29 +00:00
parent 40aed94124
commit 012d2dd0c4

View File

@@ -129,6 +129,7 @@ term2patt trm = case trm of
return (PR (map (uncurry PAss) (zip ll aa')))
LI x -> return $ PV x
EInt i -> return $ PI i
FV (t:_) -> term2patt t ----
_ -> prtBad "no pattern corresponds to term" trm
patt2term :: Patt -> Term