summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/src/Minilang/REPL/Pure.hs
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-11-03 22:08:25 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-11-03 22:08:25 +0100
commit186785c7bc7d511fef75ec22e72143f7707ae886 (patch)
tree6c04fa4f67c61ab04674dc1f1cd69c9d8acd0b98 /lambda-calcul/haskell/src/Minilang/REPL/Pure.hs
parente26753be1ed978e20ceea5e284fddbbc29f0338e (diff)
downloadlambda-nantes-186785c7bc7d511fef75ec22e72143f7707ae886.tar.gz
resugar evaluated term
Diffstat (limited to 'lambda-calcul/haskell/src/Minilang/REPL/Pure.hs')
-rw-r--r--lambda-calcul/haskell/src/Minilang/REPL/Pure.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lambda-calcul/haskell/src/Minilang/REPL/Pure.hs b/lambda-calcul/haskell/src/Minilang/REPL/Pure.hs
index 91e71b9..7ca0c85 100644
--- a/lambda-calcul/haskell/src/Minilang/REPL/Pure.hs
+++ b/lambda-calcul/haskell/src/Minilang/REPL/Pure.hs
@@ -41,7 +41,7 @@ instance MonadREPL PureREPL where
render :: Out -> Text
render = \case
Msg t -> t
- Evaluated term typ -> pretty (resugar term) <> " : " <> Type.pretty typ
+ Evaluated ast _term typ -> pretty ast <> " : " <> Type.pretty typ
Bye -> "Bye!"
other -> pack (show other)