Debug running

This commit is contained in:
ngws committed 2024-09-30 23:31:01 +02:00
1 parent 8aaa056978
commit abc05a6032
1 file changed
+5
+5
View File
@@ -27,6 +27,11 @@ runDep (Dependency a action b) = do
input <- getTokenValue a
result <- runAction action input
putTokenValue b result
liftIO $ do
putStrLn ("input: " ++ show input)
putStrLn ("action: " ++ show action)
putStrLn ("output: " ++ show result)
putStrLn "----------"
getTokenValue :: UToken -> DepRunM Value
getTokenValue = \case