Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

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

  1. type (e :: k) :| (es :: [k]) = Member e es

    vary Vary.Utils

    Constrain es to be any type list containing e. Useful to talk about variants generically without having to specify the exact type list right away. For instance, the type of from is

    Vary.from :: (a :| l) => a -> Vary l
    
    because we can use it to construct any Vary as long as there is an a somewhere in its list of types.

  2. (:::) :: forall a (n1 :: Nat) . a -> Vec n1 a -> Vec ('S n1) a

    vec Data.Vec.Lazy

    No documentation available.

  3. (:::) :: forall a (n1 :: Nat) . a -> Vec n1 a -> Vec ('S n1) a

    vec Data.Vec.Lazy.Inline

    No documentation available.

  4. data ((f :: Type -> Type) :+: (g :: Type -> Type)) w

    wizards System.Console.Wizard

    Coproduct of two functors

  5. class (Functor sub, Functor sup) => (sub :: Type -> Type) :<: (sup :: Type -> Type)

    wizards System.Console.Wizard

    Subsumption of two functors. You shouldn't define any of your own instances of this when writing back-ends, rely only on GeneralizedNewtypeDeriving.

  6. data ((f :: Type -> Type) :+: (g :: Type -> Type)) w

    wizards System.Console.Wizard.Internal

    Coproduct of two functors

  7. class (Functor sub, Functor sup) => (sub :: Type -> Type) :<: (sup :: Type -> Type)

    wizards System.Console.Wizard.Internal

    Subsumption of two functors. You shouldn't define any of your own instances of this when writing back-ends, rely only on GeneralizedNewtypeDeriving.

  8. type family h :> p

    zippers Control.Zipper

    This type family represents a Zipper with the p variable abstracting over the position and the index, in terms of :@. You can visually see it in type signatures as:

    h :> (a :@ i) = Zipper h i a
    

  9. type h :>> a = Zipper h Int a

    zippers Control.Zipper

    Many zippers are indexed by Int keys. This type alias is convenient for reducing syntactic noise for talking about these boring indices.

  10. data a :@ i

    zippers Control.Zipper

    An empty data type, used to represent the pairing of a position in a Zipper with an index. See :>.

Page 69 of many | Previous | Next