Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromListN :: Storable a => Int -> [a] -> Vector ario RIO.Vector.Storable No documentation available.
fromListN :: Unbox a => Int -> [a] -> Vector ario RIO.Vector.Unboxed No documentation available.
fromListWithSizeHint :: (HashTable h, Eq k, Hashable k) => Int -> [(k, v)] -> ST s (h s k v)hashtables Data.HashTable.Class Create a hash table from a list of key-value pairs, with a size hint. O(n).
fromListWithSizeHint :: (HashTable h, Eq k, Hashable k) => Int -> [(k, v)] -> IO (IOHashTable h k v)hashtables Data.HashTable.IO See the documentation for this function in fromListWithSizeHint.
-
dependent-map Data.Dependent.Map O(n*log n). Build a map from a list of key/value pairs with a combining function. See also fromAscListWithKey.
fromListN :: IsList l => Int -> [Item l] -> lrelude Relude.Container.Reexport The fromListN function takes the input list's length and potentially uses it to construct the structure l more efficiently compared to fromList. If the given number does not equal to the input list's length the behaviour of fromListN is not specified.
fromListN (length xs) xs == fromList xs
fromListN :: IsList l => Int -> [Item l] -> lbasement Basement.Compat.Base The fromListN function takes the input list's length and potentially uses it to construct the structure l more efficiently compared to fromList. If the given number does not equal to the input list's length the behaviour of fromListN is not specified.
fromListN (length xs) xs == fromList xs
fromListN :: IsList l => Int -> [Item l] -> lbasement Basement.Compat.IsList The fromListN function takes the input list's length and potentially uses it to construct the structure l more efficiently compared to fromList. If the given number does not equal to the input list's length the behaviour of fromListN is not specified.
fromListN (length xs) xs == fromList xs
fromListN :: IsList l => Int -> [Item l] -> lbasement Basement.Imports The fromListN function takes the input list's length and potentially uses it to construct the structure l more efficiently compared to fromList. If the given number does not equal to the input list's length the behaviour of fromListN is not specified.
fromListN (length xs) xs == fromList xs
fromLists :: [[a]] -> Matrix amatrix Data.Matrix Create a matrix from a non-empty list of non-empty lists. Each list must have at least as many elements as the first list. Examples:
fromLists [ [1,2,3] ( 1 2 3 ) , [4,5,6] ( 4 5 6 ) , [7,8,9] ] = ( 7 8 9 )
fromLists [ [1,2,3 ] ( 1 2 3 ) , [4,5,6,7] ( 4 5 6 ) , [8,9,0 ] ] = ( 8 9 0 )