Safe Haskell | None |
---|---|
Language | Haskell2010 |
User-friendly pretty-printing for textual user interfaces (TUI)
Synopsis
- friendlyTx :: MonadIO m => FriendlyFormat -> Maybe (File () 'Out) -> CardanoEra era -> Tx era -> m (Either (FileError e) ())
- friendlyTxBody :: MonadIO m => FriendlyFormat -> Maybe (File () 'Out) -> CardanoEra era -> TxBody era -> m (Either (FileError e) ())
- friendlyProposal :: MonadIO m => FriendlyFormat -> Maybe (File () 'Out) -> ConwayEraOnwards era -> Proposal era -> m (Either (FileError e) ())
- friendlyBS :: ToJSON a => FriendlyFormat -> a -> ByteString
- friendlyTxImpl :: MonadWarning m => CardanoEra era -> Tx era -> m [Pair]
- friendlyTxBodyImpl :: MonadWarning m => CardanoEra era -> TxBody era -> m [Pair]
- friendlyProposalImpl :: ConwayEraOnwards era -> Proposal era -> [Pair]
- data FriendlyFormat
- viewOutputFormatToFriendlyFormat :: ViewOutputFormat -> FriendlyFormat
Functions in IO
friendlyTx :: MonadIO m => FriendlyFormat -> Maybe (File () 'Out) -> CardanoEra era -> Tx era -> m (Either (FileError e) ()) Source #
friendlyTxBody :: MonadIO m => FriendlyFormat -> Maybe (File () 'Out) -> CardanoEra era -> TxBody era -> m (Either (FileError e) ()) Source #
friendlyProposal :: MonadIO m => FriendlyFormat -> Maybe (File () 'Out) -> ConwayEraOnwards era -> Proposal era -> m (Either (FileError e) ()) Source #
Functions that are not in IO
friendlyBS :: ToJSON a => FriendlyFormat -> a -> ByteString Source #
friendlyTxImpl :: MonadWarning m => CardanoEra era -> Tx era -> m [Pair] Source #
friendlyTxBodyImpl :: MonadWarning m => CardanoEra era -> TxBody era -> m [Pair] Source #
friendlyProposalImpl :: ConwayEraOnwards era -> Proposal era -> [Pair] Source #