Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromListN :: forall (n :: Nat) a . (Storable a, KnownNat n) => [a] -> Maybe (Vector n a)vector-sized Data.Vector.Storable.Sized O(n) Convert the first n elements of a list to a vector. The length of the resulting vector is inferred from the type.
fromListN' :: forall (n :: Nat) a p . (Storable a, KnownNat n) => p n -> [a] -> Maybe (Vector n a)vector-sized Data.Vector.Storable.Sized O(n) Convert the first n elements of a list to a vector. The length of the resulting vector is given explicitly as a Proxy argument.
fromListN :: forall (n :: Nat) a . (Unbox a, KnownNat n) => [a] -> Maybe (Vector n a)vector-sized Data.Vector.Unboxed.Sized O(n) Convert the first n elements of a list to a vector. The length of the resulting vector is inferred from the type.
fromListN' :: forall (n :: Nat) a p . (Unbox a, KnownNat n) => p n -> [a] -> Maybe (Vector n a)vector-sized Data.Vector.Unboxed.Sized O(n) Convert the first n elements of a list to a vector. The length of the resulting vector is given explicitly as a Proxy argument.
fromListingsLanguage :: Text -> Maybe Textpandoc Text.Pandoc.Highlighting Determine skylighting language name from listings language name.
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
fromListWith :: Enum k => (a -> a -> a) -> [(k, a)] -> EnumMap k aenummapset Data.EnumMap.Lazy No documentation available.
fromListWithKey :: Enum k => (k -> a -> a -> a) -> [(k, a)] -> EnumMap k aenummapset Data.EnumMap.Lazy No documentation available.