mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 02:39:31 -06:00
Replace Category with Type in the PGF API. Added readLanguage and showLanguage.
This commit is contained in:
@@ -50,7 +50,7 @@ pgfMain pgf command =
|
||||
t <- maybe (throwCGIError 400 "No tree given" ["No tree given"]) return mt
|
||||
maybe (throwCGIError 400 "Bad tree" ["Bad tree: " ++ t]) return (PGF.readTree t)
|
||||
|
||||
getCat :: CGI (Maybe PGF.Category)
|
||||
getCat :: CGI (Maybe PGF.Type)
|
||||
getCat =
|
||||
do mcat <- getInput "cat"
|
||||
case mcat of
|
||||
|
||||
Reference in New Issue
Block a user