Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class
RecMapMethod1 (c :: Type -> Constraint) (f :: u -> Type) (ts :: [u])vinyl Data.Vinyl.Class.Method Apply a typeclass method to each field of a Rec where the class constrains the field when considered as a value interpreted by the record's interpretation functor.
-
vinyl Data.Vinyl.Class.Method No documentation available.
-
vinyl Data.Vinyl.Class.Method No documentation available.
-
vinyl Data.Vinyl.Class.Method Apply a typeclass method to each field of a Rec f ts using the Functor instance for f to lift the function into the functor. This is a commonly-used specialization of rmapMethod composed with fmap.
-
vinyl Data.Vinyl.Core Map each element of a record to a monoid and combine the results.
-
vinyl Data.Vinyl.Core Rec _ rs with labels in kind u gives rise to a functor Hask^u -> Hask; that is, a natural transformation between two interpretation functors f,g may be used to transport a value from Rec f rs to Rec g rs.
rfoldMapAux :: (RFoldMap rs, Monoid m) => (forall (x :: u) . () => f x -> m) -> m -> Rec f rs -> mvinyl Data.Vinyl.Core No documentation available.
rmap :: RMap rs => (forall (x :: u) . () => f x -> g x) -> Rec f rs -> Rec g rsvinyl Data.Vinyl.Core No documentation available.
fieldMap :: forall a b (s :: Symbol) . (a -> b) -> ElField '(s, a) -> ElField '(s, b)vinyl Data.Vinyl.Derived ElField is isomorphic to a functor something like Compose ElField ('(,) s).
class
XRMap (f :: u -> Type) (g :: u -> Type) (rs :: [u])vinyl Data.Vinyl.XRec The implementation of xrmap is broken into a type class to permit unrolling of the recursion across a record. The function mapped across the vector hides the HKD type family under a newtype constructor to help the type checker.