shithub: MicroHs

Download patch

ref: 61d11a84bfcb64f588f2999faaa375c980ed5c53
parent: 4680b1d4fa9939b804e11b3e844a22adc12b8c5e
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Mon Nov 20 13:56:58 EST 2023

Dump combinators when really verbose.

--- a/src/MicroHs/Compile.hs
+++ b/src/MicroHs/Compile.hs
@@ -85,6 +85,8 @@
   t2 <- getTimeMilli
   when (verbose flags > 0) $
     putStrLn $ "combinator conversion " ++ padLeft 6 (show (t2-t1)) ++ "ms"
+  when (verbose flags > 3) $
+    putStrLn $ "combinators:\n" ++ showLDefs dsn
   return (dsn, ch')
 
 --compileTop :: Flags -> IdentModule -> IO [LDef]
--