Closed florentc closed 1 year ago
This works around #266 by providing convenience functions (printCooked and printCookedOpt) to work in the REPL despite the lack of Show instances.
printCooked
printCookedOpt
Show
It makes it possible to use printCooked $ runMockChainFrom foo bar for instance.
printCooked $ runMockChainFrom foo bar
It also implements PrettyCooked for the return type of runMockChain: Show a = > Either MockChainError (a, UtxoState).
PrettyCooked
runMockChain
Show a = > Either MockChainError (a, UtxoState)
This works around #266 by providing convenience functions (
printCooked
andprintCookedOpt
) to work in the REPL despite the lack ofShow
instances.It makes it possible to use
printCooked $ runMockChainFrom foo bar
for instance.It also implements
PrettyCooked
for the return type ofrunMockChain
:Show a = > Either MockChainError (a, UtxoState)
.