HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecryptonite-0.30Haskell2010

Crypto.Error

Synopsis
  • Packagecryptonite-0.30
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypes.hs
datadata CryptoError
Instances5Enum, Eq, Data, Show, Exception
datadata CryptoFailable a

A simple Either like type to represent a computation that can fail

2 possibles values are:

  • CryptoPassed : The computation succeeded, and contains the result of the computation

  • CryptoFailed : The computation failed, and contains the cryptographic error associated

Instances7Monad, Functor, Applicative, MonadFailure, Eq, Show, …