Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Word with fixed length lists constructed from NonEmpty and Empty types.
toList :: forall (f :: Type -> Type) a . Foldable f => T f a -> [a]non-empty Data.NonEmpty No documentation available.
fromAscList :: Ord k => T [] (k, a) -> T k anon-empty Data.NonEmpty.Map forAllNonEmptyMap $ \m -> NonEmptyMap.fromAscList (NonEmptyMap.toAscList m) == m
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.