updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo)

This commit is contained in:
aarne
2008-11-10 10:59:13 +00:00
parent eedd209458
commit 87c6bebf29
4 changed files with 44 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ stringOp :: String -> Maybe (String -> String)
stringOp name = case name of
"chars" -> Just $ appLexer (filter (not . all isSpace) . map return)
"lextext" -> Just $ appLexer lexText
"lexcode" -> Just $ appLexer lexText
"lexcode" -> Just $ appLexer lexCode
"lexmixed" -> Just $ appLexer lexMixed
"words" -> Just $ appLexer words
"bind" -> Just $ appUnlexer bindTok