on master help sign in
more prettyprinter compatibility adjustments
commite899c58a7abee72abfde582b993fef445491e792 authorAgentM <agentm@themactionfaction.com> dateSat 21 Nov 2020, 19:56 (6 years ago) parent58fd811
2 files changed+2−2
project-m36.cabal+1−1 test/TutorialD/Printer.hs+1−1
project-m36.cabal+1−1
@@ -438,7 +438,7 @@ Test-Suite test-scripts
438438 Default-Extensions: OverloadedStrings
439439 type: exitcode-stdio-1.0
440440 main-is: test/scripts.hs
441− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, project-m36, random, MonadRandom, semigroups, parser-combinators
441+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
442442 Other-Modules: TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Printer
443443 GHC-Options: -Wall -threaded
444444 Hs-Source-Dirs: ., ./src/bin
test/TutorialD/Printer.hs+1−1
@@ -43,5 +43,5 @@ parseRelExpr :: String -> IO RelationalExpr
4343parseRelExpr tutdStr =
4444 case parse relExprP "test" (pack tutdStr) of
4545 Left err ->
46− assertFailure (errorBundlePretty err)
46+ assertFailure (show err)
4747 Right parsed -> pure parsed