Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Documentation
Instances
Functor Deeper Source # | |
Foldable Deeper Source # | |
Defined in Nix.Convert fold :: Monoid m => Deeper m -> m # foldMap :: Monoid m => (a -> m) -> Deeper a -> m # foldMap' :: Monoid m => (a -> m) -> Deeper a -> m # foldr :: (a -> b -> b) -> b -> Deeper a -> b # foldr' :: (a -> b -> b) -> b -> Deeper a -> b # foldl :: (b -> a -> b) -> b -> Deeper a -> b # foldl' :: (b -> a -> b) -> b -> Deeper a -> b # foldr1 :: (a -> a -> a) -> Deeper a -> a # foldl1 :: (a -> a -> a) -> Deeper a -> a # elem :: Eq a => a -> Deeper a -> Bool # maximum :: Ord a => Deeper a -> a # minimum :: Ord a => Deeper a -> a # | |
Traversable Deeper Source # | |
(Convertible e t f m, ToValue a m (Deeper (NValue' t f m (NValue t f m)))) => ToValue a m (Deeper (NValue t f m)) Source # | |
(Convertible e t f m, FromValue a m (NValue' t f m (NValue t f m))) => FromValue a m (Deeper (NValue' t f m (NValue t f m))) Source # | |
(Convertible e t f m, MonadValue (NValue t f m) m, FromValue a m (Deeper (NValue' t f m (NValue t f m)))) => FromValue a m (Deeper (NValue t f m)) Source # | |
(Convertible e t f m, ToValue a m (NValue t f m)) => ToValue [a] m (Deeper (NValue' t f m (NValue t f m))) Source # | |
(Convertible e t f m, ToValue a m (NValue t f m)) => ToValue (AttrSet a) m (Deeper (NValue' t f m (NValue t f m))) Source # | |
(Convertible e t f m, FromValue a m (NValue t f m)) => FromValue [a] m (Deeper (NValue' t f m (NValue t f m))) Source # | |
(Convertible e t f m, FromValue a m (NValue t f m)) => FromValue (AttrSet a) m (Deeper (NValue' t f m (NValue t f m))) Source # | |
(Convertible e t f m, ToValue a m (NValue t f m)) => ToValue (AttrSet a, AttrSet SourcePos) m (Deeper (NValue' t f m (NValue t f m))) Source # | |
(Convertible e t f m, FromValue a m (NValue t f m)) => FromValue (AttrSet a, AttrSet SourcePos) m (Deeper (NValue' t f m (NValue t f m))) Source # | |
class FromValue a m v where Source #
Instances
type Convertible e t f m = (Framed e m, MonadDataErrorContext t f m, MonadThunk t m (NValue t f m)) Source #
class ToValue a m v where Source #