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.

  1. (+:) :: a -> a -> Complex a

    numhask NumHask.Data.Complex

    Complex number constructor. Internally, Complex derives most instances via EuclideanPair. For instance,

    >>> sqrt (1.0 +: (-1.0)) :: Complex Double
    Complex {complexPair = (1.0986841134678098,-0.45508986056222733)}
    
    >>> sqrt ((-1.0) +: 0.0) :: Complex Double
    Complex {complexPair = (6.123233995736766e-17,1.0)}
    

  2. (++) :: [a] -> [a] -> [a]

    numhask NumHask.Prelude

    (++) 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 slowdown

    Examples

    >>> [1, 2, 3] ++ [4, 5, 6]
    [1,2,3,4,5,6]
    
    >>> [] ++ [1, 2, 3]
    [1,2,3]
    
    >>> [3, 2, 1] ++ []
    [3,2,1]
    

  3. (+-+) :: String -> String -> String

    simple-cmd SimpleCmd

    Combine two strings with a single space

  4. (++) :: Monoid w => w -> w -> w

    basic-prelude BasicPrelude

    (++) = mappend
    

  5. (++) :: Monoid m => m -> m -> m

    classy-prelude ClassyPrelude

    No documentation available.

  6. (++.) :: SqlString s => SqlExpr (Value s) -> SqlExpr (Value s) -> SqlExpr (Value s)

    esqueleto Database.Esqueleto

    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.

  7. (+.) :: PersistField a => SqlExpr (Value a) -> SqlExpr (Value a) -> SqlExpr (Value a)

    esqueleto Database.Esqueleto

    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
    

  8. (+=.) :: (PersistEntity val, PersistField a) => EntityField val a -> SqlExpr (Value a) -> SqlExpr (Entity val) -> SqlExpr Update

    esqueleto Database.Esqueleto

    No documentation available.

  9. (++.) :: SqlString s => SqlExpr (Value s) -> SqlExpr (Value s) -> SqlExpr (Value s)

    esqueleto Database.Esqueleto.Experimental

    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.

  10. (+.) :: PersistField a => SqlExpr (Value a) -> SqlExpr (Value a) -> SqlExpr (Value a)

    esqueleto Database.Esqueleto.Experimental

    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
    

Page 18 of many | Previous | Next