HORIZON HASKELLDocslts/ghc-10.0.xc62e4de2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · c62e4de · 2026-10-19

Modulehnix-0.17.0Haskell2010

Nix.Convert

Although there are a lot of instances in this file, really it's just a combinatorial explosion of the following combinations:

  • Several Haskell types being converted to/from Nix wrappers

  • Several types of Nix wrappers

  • Whether to be shallow or deep while unwrapping

  • 4 types
  • 2 classes
  • 7 values
  • Packagehnix-0.17.0
  • Exports13
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceConvert.hs
newtypenewtype Deeper a
#

Constructors

Instances12Functor, Foldable, Traversable, FromValue, ToValue, …
valueinHask
  1. :: (Monad m, FromValue a1 m v, ToValue a2 m b)
  2. => a1 -> a2
  3. -> v
  4. -> m b
#

Transform Nix -> Hask. Run function. Convert Hask -> Nix.

FromValue

5 declarations
classclass FromValue a (m :: Type -> Type) v where
#

Methods

Instances22FromValue, …

ToValue

1 declaration
classclass ToValue a (m :: Type -> Type) v where
#

Methods

Instances29ToValue, …