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.Eval

  • 3 types
  • 1 class
  • 15 values
  • Packagehnix-0.17.0
  • Exports19
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceEval.hs
classclass (Show v, Monad m) => MonadEval v (m :: Type -> Type) where
#

Methods

Instances3MonadEval
valueevalWithAttrSet :: MonadNixEval v m => m v -> m v -> m v
#

If you know that the scope action will result in an 'AttrSet v', then this implementation may be used as an implementation for evalWith.

Add source positions to NExprLoc.

Takes NExprLoc, by itself takes source position informatoin, does transformation, returns NExprLoc with source positions.

Actually:

=> (NExprLoc -> m a)
-> NExprLoc -> m a