hnix-0.5.1: Haskell implementation of the Nix language
Nix.Context
data Context m v Source #
Constructors
Fields
Instances
Methods
hasLens :: Lens' (Context m v) Options Source #
hasLens :: Lens' (Context m v) Frames Source #
hasLens :: Lens' (Context m v) SrcSpan Source #
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 #
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 #