Safe Haskell | None |
---|---|
Language | Haskell2010 |
- (<<$>>) :: (forall x. f x -> g x) -> Rec el f rs -> Rec el g rs
- (<<*>>) :: Rec el (Lift (->) f g) rs -> Rec el f rs -> Rec el g rs
- (<+>) :: Rec el f as -> Rec el f bs -> Rec el f (as ++ bs)
- type family as ++ bs :: [k]
- class RecApplicative rs where
- rtraverse :: Applicative h => (forall x. f x -> h (g x)) -> Rec el f rs -> h (Rec el g rs)
- rdist :: Applicative f => Rec el f rs -> f (PlainRec el rs)
- rdistLazy :: Applicative f => Rec el f rs -> f (LazyPlainRec el rs)
- class FoldRec r a where
- foldRec :: (a -> b -> b) -> b -> r -> b
- recToList :: FoldRec (Rec el f rs) (f t) => Rec el f rs -> [f t]
- showWithNames :: RecAll el f rs Show => PlainRec (Const String) rs -> Rec el f rs -> String
- rshow :: (Implicit (PlainRec (Const String) rs), RecAll el f rs Show) => Rec el f rs -> String
Documentation
class RecApplicative rs where Source
RecApplicative k ([] k) | |
RecApplicative k rs => RecApplicative k ((:) k f rs) |
rtraverse :: Applicative h => (forall x. f x -> h (g x)) -> Rec el f rs -> h (Rec el g rs) Source
rdist :: Applicative f => Rec el f rs -> f (PlainRec el rs) Source
rdistLazy :: Applicative f => Rec el f rs -> f (LazyPlainRec el rs) Source