Hoogle Search
Within LTS Haskell 24.26 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: Ord k => T [] (k, a) -> T k anon-empty Data.NonEmpty.Map Warning: Dangerous because it silently drops colliding key/value pairs. Better use fromListWith.
fromListWith :: Ord k => (a -> a -> a) -> T [] (k, a) -> T k anon-empty Data.NonEmpty.Map \xs -> Map.fromListWith (++) (NonEmpty.flatten xs) == NonEmptyMap.flatten (NonEmptyMap.fromListWith (++) (xs::NonEmpty.T [] (Int,String)))
toAscList :: T k a -> T [] (k, a)non-empty Data.NonEmpty.Map forAllNonEmptyMap $ \m -> NonEmpty.flatten (NonEmptyMap.toAscList m) == Map.toAscList (NonEmptyMap.flatten m)
fromAscList :: Ord a => T [] a -> T anon-empty Data.NonEmpty.Set No documentation available.
fromList :: Ord a => T [] a -> T anon-empty Data.NonEmpty.Set No documentation available.
-
non-empty Data.NonEmpty.Set No documentation available.
fromList :: Storable a => [a] -> Vector ahmatrix Numeric.LinearAlgebra.Data No documentation available.
fromLists :: Element t => [[t]] -> Matrix thmatrix Numeric.LinearAlgebra.Data Creates a Matrix from a list of lists (considered as rows).
>>> fromLists [[1,2],[3,4],[5,6]] (3><2) [ 1.0, 2.0 , 3.0, 4.0 , 5.0, 6.0 ]
toList :: Storable a => Vector a -> [a]hmatrix Numeric.LinearAlgebra.Data No documentation available.
toLists :: Element t => Matrix t -> [[t]]hmatrix Numeric.LinearAlgebra.Data the inverse of fromLists