Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
contiguous Data.Primitive.Contiguous Given an Int that is representative of the length of the list, convert the list into a mutable array of the given length. Note: calls error if the given length is incorrect.
fromListN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr acontiguous Data.Primitive.Contiguous Given an Int that is representative of the length of the list, convert the list into a mutable array of the given length. Note: calls error if the given length is incorrect.
toList :: (Contiguous arr, Element arr a) => arr a -> [a]contiguous Data.Primitive.Contiguous Convert an array to a list.
-
contiguous Data.Primitive.Contiguous Convert a mutable array to a list.
unsafeFromListN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr acontiguous Data.Primitive.Contiguous Create an array from a list. If the given length does not match the actual length, this function has undefined behavior.
-
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.
unsafeFromListReverseN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr acontiguous 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.
fromList :: [(Expr, a)] -> Triexpr aexpress Data.Express.Triexpr Constructs a Triexpr form a list of key Exprs and associated values.
toList :: Triexpr a -> [(Expr, a)]express Data.Express.Triexpr List all Expr stored in a Triexpr along with their associated values.
-
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