Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. take_map :: IO Proof

    sbv Documentation.SBV.Examples.KnuckleDragger.Lists

    take n (map f xs) == map f (take n xs)
    
    >>> take_map
    Lemma: take_cons                        Q.E.D.
    Lemma: map1                             Q.E.D.
    Lemma: take_map.n <= 0                  Q.E.D.
    Inductive lemma: take_map.n > 0
    Step: Base                            Q.E.D.
    Step: 1                               Q.E.D.
    Step: 2                               Q.E.D.
    Step: 3                               Q.E.D.
    Step: 4                               Q.E.D.
    Step: 5                               Q.E.D.
    Result:                               Q.E.D.
    Lemma: take_map                         Q.E.D.
    [Proven] take_map
    

  2. tmapEvery :: forall a (cs :: [Type -> Constraint]) p p'' (xs :: [Type]) . TMap (Every cs) xs => p cs -> (forall x (p' :: Type -> Type) . Every cs x => p' x -> a) -> p'' xs -> [a]

    servant-openapi3 Servant.OpenApi.Internal.TypeLevel.Every

    Like tmap, but uses Every for multiple constraints.

    >>> let zero :: forall p a. (Show a, Num a) => p a -> String; zero _ = show (0 :: a)
    
    >>> tmapEvery (Proxy :: Proxy [Show, Num]) zero (Proxy :: Proxy [Int, Float]) :: [String]
    ["0","0.0"]
    

  3. module Servant.OpenApi.Internal.TypeLevel.TMap

    No documentation available.

  4. class TMap (q :: k -> Constraint) (xs :: [k])

    servant-openapi3 Servant.OpenApi.Internal.TypeLevel.TMap

    Map a list of constrained types to a list of values.

    >>> tmap (Proxy :: Proxy KnownSymbol) symbolVal (Proxy :: Proxy ["hello", "world"])
    ["hello","world"]
    

  5. tmap :: TMap q xs => p q -> (forall (x :: k) (p' :: k -> Type) . q x => p' x -> a) -> p'' xs -> [a]

    servant-openapi3 Servant.OpenApi.Internal.TypeLevel.TMap

    No documentation available.

  6. tmapEvery :: forall a (cs :: [Type -> Constraint]) p p'' (xs :: [Type]) . TMap (Every cs) xs => p cs -> (forall x (p' :: Type -> Type) . Every cs x => p' x -> a) -> p'' xs -> [a]

    servant-swagger Servant.Swagger.Internal.TypeLevel.Every

    Like tmap, but uses Every for multiple constraints.

    >>> let zero :: forall p a. (Show a, Num a) => p a -> String; zero _ = show (0 :: a)
    
    >>> tmapEvery (Proxy :: Proxy [Show, Num]) zero (Proxy :: Proxy [Int, Float]) :: [String]
    ["0","0.0"]
    

  7. module Servant.Swagger.Internal.TypeLevel.TMap

    No documentation available.

  8. class TMap (q :: k -> Constraint) (xs :: [k])

    servant-swagger Servant.Swagger.Internal.TypeLevel.TMap

    Map a list of constrained types to a list of values.

    >>> tmap (Proxy :: Proxy KnownSymbol) symbolVal (Proxy :: Proxy ["hello", "world"])
    ["hello","world"]
    

  9. tmap :: TMap q xs => p q -> (forall (x :: k) (p' :: k -> Type) . q x => p' x -> a) -> p'' xs -> [a]

    servant-swagger Servant.Swagger.Internal.TypeLevel.TMap

    No documentation available.

  10. queueMap :: Ord a => Methods queue set -> Methods a queue set

    set-cover Math.SetCover.Exact.Priority

    No documentation available.

Page 1084 of many | Previous | Next