Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. unsafeFromListN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr a

    contiguous Data.Primitive.Contiguous

    Create an array from a list. If the given length does not match the actual length, this function has undefined behavior.

  2. unsafeFromListReverseMutableN :: forall (arr :: Type -> Type) a m . (Contiguous arr, Element arr a, PrimMonad m) => Int -> [a] -> m (Mutable arr (PrimState m) a)

    contiguous Data.Primitive.Contiguous

    Create a mutable array from a list, reversing the order of the elements. If the given length does not match the actual length, this function has undefined behavior.

  3. unsafeFromListReverseN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr a

    contiguous Data.Primitive.Contiguous

    Create an array from a list, reversing the order of the elements. If the given length does not match the actual length, this function has undefined behavior.

  4. fromList :: [(Expr, a)] -> Triexpr a

    express Data.Express.Triexpr

    Constructs a Triexpr form a list of key Exprs and associated values.

  5. toList :: Triexpr a -> [(Expr, a)]

    express Data.Express.Triexpr

    List all Expr stored in a Triexpr along with their associated values.

  6. countListTy :: TypeRep -> Int

    express Data.Express.Utils.Typeable

    Return the number of outer list nestings in a TypeRep

    > countListTy $ typeOf (undefined :: Int)
    0
    
    > countListTy $ typeOf (undefined :: [Bool])
    1
    
    > countListTy $ typeOf (undefined :: [[()]])
    2
    
    > countListTy $ typeOf (undefined :: String)
    1
    
    > countListTy $ typeOf (undefined :: ([Int],[Bool]))
    0
    

  7. typesInList :: [TypeRep] -> [TypeRep]

    express Data.Express.Utils.Typeable

    Returns types and subtypes from the given list of TypeReps.

    > typesInList [typeOf (undefined :: () -> Int), typeOf (undefined :: String -> String -> Bool)]
    [(),Bool,Char,Int,[Char],() -> Int,[Char] -> Bool,[Char] -> [Char] -> Bool]
    
    > typesInList [typeOf (undefined :: (Char,Int))]
    [Char,Int,(Char,Int)]
    

  8. toListCS :: CharSet -> [Char]

    hxt-charproperties Data.Set.CharSet

    No documentation available.

  9. toKeyedList :: FoldableWithKey t => t a -> [(Key t, a)]

    keys Data.Key

    No documentation available.

  10. fromList :: Context a => (Int, Int) -> [a] -> Matrix a

    matrices Data.Matrix

    No documentation available.

Page 125 of many | Previous | Next