Hoogle Search
Within LTS Haskell 22.19 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
++ ) :: Vector v a => v a -> v a -> v ario RIO.Vector O(m+n) Concatenate two vectors.
(
++ ) :: Vector a -> Vector a -> Vector ario RIO.Vector.Boxed O(m+n) Concatenate two vectors.
(
++ ) :: Storable a => Vector a -> Vector a -> Vector ario RIO.Vector.Storable O(m+n) Concatenate two vectors.
(
++ ) :: Unbox a => Vector a -> Vector a -> Vector ario RIO.Vector.Unboxed O(m+n) Concatenate two vectors.
type family (
++ ) (xs :: [k]) (ys :: [k]) :: [k]relude Relude.Extra.Type Concatenates type-level lists.
>>> :kind! '[ 'Just 5, 'Nothing] ++ '[ 'Just 3, 'Nothing, 'Just 1] '[ 'Just 5, 'Nothing] ++ '[ 'Just 3, 'Nothing, 'Just 1] :: [Maybe Natural] = '[ 'Just 5, 'Nothing, 'Just 3, 'Nothing, 'Just 1]
>>> :kind! '[] ++ '[ 'Just 3, 'Nothing, 'Just 1] '[] ++ '[ 'Just 3, 'Nothing, 'Just 1] :: [Maybe Natural] = '[ 'Just 3, 'Nothing, 'Just 1]
# 91 "srcReludeExtra/Type.hs"-
relude Relude.List.Reexport Append two lists, i.e.,
[x1, ..., xm] ++ [y1, ..., yn] == [x1, ..., xm, y1, ..., yn] [x1, ..., xm] ++ [y1, ...] == [x1, ..., xm, y1, ...]
If the first list is not finite, the result is the first list. WARNING: This function takes linear time in the number of elements of the first list. -
Cabal-syntax Distribution.Compat.Prelude Append two lists, i.e.,
[x1, ..., xm] ++ [y1, ..., yn] == [x1, ..., xm, y1, ..., yn] [x1, ..., xm] ++ [y1, ...] == [x1, ..., xm, y1, ...]
If the first list is not finite, the result is the first list. WARNING: This function takes linear time in the number of elements of the first list. -
first-class-families Fcf List catenation.
Example
>>> data Example where Ex :: a -> Example -- Hide the type of examples to avoid brittleness in different GHC versions >>> :kind! Ex (Eval ([1, 2] ++ [3, 4]) :: [Natural]) Ex (Eval ([1, 2] ++ [3, 4]) :: [Natural]) :: Example = Ex [1, 2, 3, 4]
-
first-class-families Fcf.Data.List List catenation.
Example
>>> data Example where Ex :: a -> Example -- Hide the type of examples to avoid brittleness in different GHC versions >>> :kind! Ex (Eval ([1, 2] ++ [3, 4]) :: [Natural]) Ex (Eval ([1, 2] ++ [3, 4]) :: [Natural]) :: Example = Ex [1, 2, 3, 4]
(
++ ) :: Foldable f => f a -> Infinite a -> Infinite aghc-lib-parser GHC.Data.List.Infinite No documentation available.