Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. ($$) :: Binding r s i => (i -> r) -> Number r i -> r

    relational-schemas Database.Custom.PostgreSQL

    Unsafely apply sequence number. Only safe to build corresponding record type.

  2. ($$!) :: (i -> r) -> Number r i -> r

    relational-schemas Database.Custom.PostgreSQL

    Unsafely apply sequence number.

  3. ($$) :: Binding r s i => (i -> r) -> Number r i -> r

    relational-schemas Database.Custom.SQLServer

    Unsafely apply sequence number. Only safe to build corresponding record type.

  4. ($$!) :: (i -> r) -> Number r i -> r

    relational-schemas Database.Custom.SQLServer

    Unsafely apply sequence number.

  5. ($$) :: Binding r s i => (i -> r) -> Number r i -> r

    relational-schemas Database.Custom.SQLite3

    Unsafely apply sequence number. Only safe to build corresponding record type.

  6. ($$!) :: (i -> r) -> Number r i -> r

    relational-schemas Database.Custom.SQLite3

    Unsafely apply sequence number.

  7. ($$) :: (Monoid s, IsString s) => s -> s -> s

    string-combinators Data.String.Combinators

    Put two string-likes above eachother (separated by a newline).

  8. ($!) :: (a -> b) -> a -> b

    verset Verset

    Strict (call-by-value) application operator. It takes a function and an argument, evaluates the argument to weak head normal form (WHNF), then calls the function with that value.

  9. ($<) :: Contravariant f => f b -> b -> f a

    verset Verset

    This is >$ with its arguments flipped.

  10. ($>) :: Functor f => f a -> b -> f b

    verset Verset

    Flipped version of <$.

    Examples

    Replace the contents of a Maybe Int with a constant String:
    >>> Nothing $> "foo"
    Nothing
    
    >>> Just 90210 $> "foo"
    Just "foo"
    
    Replace the contents of an Either Int Int with a constant String, resulting in an Either Int String:
    >>> Left 8675309 $> "foo"
    Left 8675309
    
    >>> Right 8675309 $> "foo"
    Right "foo"
    
    Replace each element of a list with a constant String:
    >>> [1,2,3] $> "foo"
    ["foo","foo","foo"]
    
    Replace the second element of a pair with a constant String:
    >>> (1,2) $> "foo"
    (1,"foo")
    

Page 31 of many | Previous | Next