HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecrypton-1.0.4Haskell2010

Crypto.Error

  • 2 types
  • 5 values
  • Packagecrypton-1.0.4
  • 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, …