hnix-0.5.2: Haskell implementation of the Nix language
Nix.Context
data Context m v Source #
Constructors
Fields
Defined in Nix.Context
Methods
hasLens :: Lens' (Context m v) Options Source #
hasLens :: Lens' (Context m v) Frames Source #
hasLens :: Lens' (Context m v) SrcSpan Source #
Defined in Nix.Lint
ask :: Lint s (Context (Lint s) (SThunk (Lint s))) #
local :: (Context (Lint s) (SThunk (Lint s)) -> Context (Lint s) (SThunk (Lint s))) -> Lint s a -> Lint s a #
reader :: (Context (Lint s) (SThunk (Lint s)) -> a) -> Lint s a #
Defined in Nix.Exec
ask :: Lazy m (Context (Lazy m) (NThunk (Lazy m))) #
local :: (Context (Lazy m) (NThunk (Lazy m)) -> Context (Lazy m) (NThunk (Lazy m))) -> Lazy m a -> Lazy m a #
reader :: (Context (Lazy m) (NThunk (Lazy m)) -> a) -> Lazy m a #
hasLens :: Lens' (Context m v) (Scopes m v) Source #
newContext :: Options -> Context m v Source #