Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Api.Utils
Contents
Description
Internal utils for the other Api modules
Synopsis
- (?!) ∷ Maybe a → e → Either e a
- (?!.) ∷ Either e a → (e → e') → Either e' a
- formatParsecError ∷ ParseError → String
- failEither ∷ MonadFail m ⇒ Either String a → m a
- failEitherWith ∷ MonadFail m ⇒ (e → String) → Either e a → m a
- noInlineMaybeToStrictMaybe ∷ Maybe a → StrictMaybe a
- note ∷ MonadFail m ⇒ String → Maybe a → m a
- parseFilePath ∷ String → String → Parser FilePath
- readFileBlocking ∷ FilePath → IO ByteString
- renderEra ∷ AnyCardanoEra → Text
- runParsecParser ∷ Parser a → Text → Parser a
- textShow ∷ Show a ⇒ a → Text
- writeSecrets ∷ FilePath → [Char] → [Char] → (a → ByteString) → [a] → IO ()
- bounded ∷ ∀ a. (Bounded a, Integral a, Show a) ⇒ String → ReadM a
Documentation
noInlineMaybeToStrictMaybe ∷ Maybe a → StrictMaybe a Source #
runParsecParser ∷ Parser a → Text → Parser a Source #
writeSecrets ∷ FilePath → [Char] → [Char] → (a → ByteString) → [a] → IO () Source #