| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Linnet.Internal.HList
Documentation
class AdjoinHList ls l | ls -> l where Source #
Instances
| AdjoinHList' (NeedAdjoin ls) ls l => AdjoinHList ls l Source # | |
class FnToProduct fn ls out | fn ls -> out, ls out -> fn where Source #
Methods
fromFunction :: fn -> HList ls -> out Source #
Instances
| v ~ fn => FnToProduct fn ([] :: [Type]) v Source # | |
Defined in Linnet.Internal.HList Methods fromFunction :: fn -> HList [] -> v Source # | |
| FnToProduct fnOut tail out => FnToProduct (input -> fnOut) (input ': tail) out Source # | |
Defined in Linnet.Internal.HList Methods fromFunction :: (input -> fnOut) -> HList (input ': tail) -> out Source # | |