From d7b9d580397c3cc905207b9e13d264a18f99dab1 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Tue, 15 Sep 2026 11:58:19 +0200 Subject: [PATCH] add derive Show for ParseResult --- src/runtime/haskell/PGF2.hsc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/haskell/PGF2.hsc b/src/runtime/haskell/PGF2.hsc index 60d62e931..65e0541c9 100644 --- a/src/runtime/haskell/PGF2.hsc +++ b/src/runtime/haskell/PGF2.hsc @@ -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 =