Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. foldMap :: (HVector v, ArityC c (Elems v), Monoid m) => Proxy c -> (forall a . c a => a -> m) -> v -> m

    fixed-vector-hetero Data.Vector.HFixed

    Monoidal fold over heterogeneuous vector

    >>> foldMap (Proxy @Show) show (12,'c',"str")
    "12'c'\"str\""
    

  2. foldMapF :: (HVectorF v, ArityC c (ElemsF v), Monoid m) => Proxy c -> (forall a . c a => f a -> m) -> v f -> m

    fixed-vector-hetero Data.Vector.HFixed

    Monoidal fold over heterogeneous vector

    >>> foldMapF (Proxy @Show) show (mk2F (Just 1) Nothing :: HVecF '[Int,Char] Maybe)
    "Just 1Nothing"
    

  3. foldMapNatF :: (HVectorF v, Monoid m) => (forall a . () => f a -> m) -> v f -> m

    fixed-vector-hetero Data.Vector.HFixed

    Monoidal fold over heterogeneous vector

    >>> foldMapNatF (Sum . getConst) (mk2F (Const 1) (Const 2) :: HVecF '[Char,String] (Const Int))
    Sum {getSum = 3}
    

  4. foldMapA :: (Foldable t, Applicative f, Monoid m) => (a -> f m) -> t a -> f m

    fmlist Data.FMList

    Map each element of a structure to an action, evaluate these actions from left to right, and concat the monoid results.

  5. data NameMap (n :: S) a

    free-foil Control.Monad.Foil

    A total map from names in scope n to elements of type a.

  6. emptyNameMap :: NameMap 'VoidS a

    free-foil Control.Monad.Foil

    An empty map belongs in the empty scope.

  7. nameMapToSubstitution :: forall (i :: S) e (o :: S) . NameMap i (e o) -> Substitution e i o

    free-foil Control.Monad.Foil

    Convert a NameMap of expressions into a Substitution.

  8. newtype NameMap (n :: S) a

    free-foil Control.Monad.Foil.Internal

    A total map from names in scope n to elements of type a.

  9. NameMap :: IntMap a -> NameMap (n :: S) a

    free-foil Control.Monad.Foil.Internal

    No documentation available.

  10. emptyNameMap :: NameMap 'VoidS a

    free-foil Control.Monad.Foil.Internal

    An empty map belongs in the empty scope.

Page 1151 of many | Previous | Next