lorentz-0.12.1: EDSL for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Lorentz.Print

Description

Printing lorentz contracts.

Synopsis

Documentation

printLorentzValue :: forall v. NicePrintedValue v => Bool -> v -> LText Source #

Pretty-print a Haskell value as Michelson one.

printLorentzContract :: Bool -> Contract cp st -> LText Source #

Pretty-print a Lorentz contract into Michelson code.