mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-25 08:43:17 -06:00
add derive Show for ParseResult
This commit is contained in:
1 parent
28cf82c18d
commit
d7b9d58039
1 file changed
+1
@@ -845,6 +845,7 @@ data ParseOutput a
|
||||
| ParseOk a -- ^ If the parsing and the type checking are successful
|
||||
-- we get the abstract syntax trees as either a list or a chart.
|
||||
| ParseIncomplete -- ^ The sentence is not complete.
|
||||
deriving Show
|
||||
|
||||
parse :: Concr -> Type -> String -> ParseOutput [(Expr,Float)]
|
||||
parse c ty sent =
|
||||
|
||||
Reference in new issue
Block a user