Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
esqueleto Database.Esqueleto.Experimental No documentation available.
(
++. ) :: SqlString s => SqlExpr (Value s) -> SqlExpr (Value s) -> SqlExpr (Value s)esqueleto Database.Esqueleto.Internal.Internal The || string concatenation operator (named after Haskell's ++ in order to avoid naming clash with ||.). Supported by SQLite and PostgreSQL. MySQL support requires setting the SQL mode to PIPES_AS_CONCAT or ANSI - see this StackOverflow answer.
(
+. ) :: PersistField a => SqlExpr (Value a) -> SqlExpr (Value a) -> SqlExpr (Value a)esqueleto Database.Esqueleto.Internal.Internal This operator translates to the SQL operator +. This does not require or assume anything about the SQL values. Interpreting what +. means for a given type is left to the database engine. Example:
user ^. UserAge +. val 10
-
esqueleto Database.Esqueleto.Internal.Internal No documentation available.
(
++. ) :: SqlString s => SqlExpr (Value s) -> SqlExpr (Value s) -> SqlExpr (Value s)esqueleto Database.Esqueleto.Legacy The || string concatenation operator (named after Haskell's ++ in order to avoid naming clash with ||.). Supported by SQLite and PostgreSQL. MySQL support requires setting the SQL mode to PIPES_AS_CONCAT or ANSI - see this StackOverflow answer.
(
+. ) :: PersistField a => SqlExpr (Value a) -> SqlExpr (Value a) -> SqlExpr (Value a)esqueleto Database.Esqueleto.Legacy This operator translates to the SQL operator +. This does not require or assume anything about the SQL values. Interpreting what +. means for a given type is left to the database engine. Example:
user ^. UserAge +. val 10
-
esqueleto Database.Esqueleto.Legacy No documentation available.
(
+++ ) :: ArrowChoice a => a b c -> a b' c' -> a (Either b b') (Either c c')essence-of-live-coding LiveCoding Split the input between the two argument arrows, retagging and merging their outputs. Note that this is in general not a functor. The default definition may be overridden with a more efficient version if desired.
(
++ ) :: Foldable f => f a -> Infinite a -> Infinite aghc-lib-parser GHC.Data.List.Infinite No documentation available.
-
ghc-lib-parser GHC.Prelude.Basic (++) appends 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.Performance considerations
This function takes linear time in the number of elements of the first list. Thus it is better to associate repeated applications of (++) to the right (which is the default behaviour): xs ++ (ys ++ zs) or simply xs ++ ys ++ zs, but not (xs ++ ys) ++ zs. For the same reason concat = foldr (++) [] has linear performance, while foldl (++) [] is prone to quadratic slowdownExamples
>>> [1, 2, 3] ++ [4, 5, 6] [1,2,3,4,5,6]
>>> [] ++ [1, 2, 3] [1,2,3]
>>> [3, 2, 1] ++ [] [3,2,1]