Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
The type of very basic thunks
Instances
(Eq v, Eq (ThunkId m)) => Eq (NThunkF m v) Source # | |
Show v => Show (NThunkF m v) Source # | |
(MonadBasicThunk m, MonadCatch m) => MonadThunk (NThunkF m v) m v Source # | |
Defined in Nix.Thunk.Basic thunk :: m v -> m (NThunkF m v) Source # thunkId :: NThunkF m v -> ThunkId m Source # queryM :: NThunkF m v -> m r -> (v -> m r) -> m r Source # force :: NThunkF m v -> (v -> m r) -> m r Source # forceEff :: NThunkF m v -> (v -> m r) -> m r Source # further :: NThunkF m v -> (m v -> m v) -> m (NThunkF m v) Source # |
Instances
Functor m => Functor (Deferred m) Source # | |
Foldable m => Foldable (Deferred m) Source # | |
Defined in Nix.Thunk.Basic fold :: Monoid m0 => Deferred m m0 -> m0 # foldMap :: Monoid m0 => (a -> m0) -> Deferred m a -> m0 # foldMap' :: Monoid m0 => (a -> m0) -> Deferred m a -> m0 # foldr :: (a -> b -> b) -> b -> Deferred m a -> b # foldr' :: (a -> b -> b) -> b -> Deferred m a -> b # foldl :: (b -> a -> b) -> b -> Deferred m a -> b # foldl' :: (b -> a -> b) -> b -> Deferred m a -> b # foldr1 :: (a -> a -> a) -> Deferred m a -> a # foldl1 :: (a -> a -> a) -> Deferred m a -> a # toList :: Deferred m a -> [a] # null :: Deferred m a -> Bool # length :: Deferred m a -> Int # elem :: Eq a => a -> Deferred m a -> Bool # maximum :: Ord a => Deferred m a -> a # minimum :: Ord a => Deferred m a -> a # | |
Traversable m => Traversable (Deferred m) Source # | |
Defined in Nix.Thunk.Basic |
type MonadBasicThunk m = (MonadThunkId m, MonadVar m) Source #