Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. (&.) :: GTraversal c a b -> Walk c b d -> GTraversal c a d

    greskell Data.Greskell.GTraversal

    Apply the Walk to the GTraversal. In Gremlin, this means calling a chain of methods on the Traversal object.

  2. (<$.>) :: Functor f => Walk c b d -> f (GTraversal c a b) -> f (GTraversal c a d)

    greskell Data.Greskell.GTraversal

    Similar to <$>, but for $..

  3. (<*.>) :: Applicative f => f (Walk c b d) -> f (GTraversal c a b) -> f (GTraversal c a d)

    greskell Data.Greskell.GTraversal

    Similar to <*>, but for $..

  4. ($.) :: Walk c b d -> GTraversal c a b -> GTraversal c a d

    greskell Data.Greskell.GTraversal.Gen

    Same as &. with arguments flipped.

  5. (&.) :: GTraversal c a b -> Walk c b d -> GTraversal c a d

    greskell Data.Greskell.GTraversal.Gen

    Apply the Walk to the GTraversal. In Gremlin, this means calling a chain of methods on the Traversal object.

  6. (<$.>) :: Functor f => Walk c b d -> f (GTraversal c a b) -> f (GTraversal c a d)

    greskell Data.Greskell.GTraversal.Gen

    Similar to <$>, but for $..

  7. (<*.>) :: Applicative f => f (Walk c b d) -> f (GTraversal c a b) -> f (GTraversal c a d)

    greskell Data.Greskell.GTraversal.Gen

    Similar to <*>, but for $..

  8. (!=.) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Filter v

    hledger-web Hledger.Web.Import

    Non-equality check.

    Examples

    selectSimon :: MonadIO m => ReaderT SqlBackend m [Entity User]
    selectSimon = selectList [UserName !=. "SPJ" ] []
    
    The above query when applied on dataset-1, will produce this:
    +-----+-----+-----+
    |id   |name |age  |
    +-----+-----+-----+
    |2    |Simon|41   |
    +-----+-----+-----+
    

  9. (*=.) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Update v

    hledger-web Hledger.Web.Import

    Assign a field by multiplication (*=).

    Examples

    multiplyAge :: MonadIO m => ReaderT SqlBackend m ()
    multiplyAge = updateWhere [UserName ==. "SPJ" ] [UserAge *=. 2]
    
    The above query when applied on dataset-1, will produce this:
    +-----+-----+--------+
    |id   |name |age     |
    +-----+-----+--------+
    |1    |SPJ  |40 -> 80|
    +-----+-----+--------+
    |2    |Simon|41      |
    +-----+-----+--------+
    

  10. (+=.) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Update v

    hledger-web Hledger.Web.Import

    Assign a field by addition (+=).

    Examples

    addAge :: MonadIO m => ReaderT SqlBackend m ()
    addAge = updateWhere [UserName ==. "SPJ" ] [UserAge +=. 1]
    
    The above query when applied on dataset-1, will produce this:
    +-----+-----+---------+
    |id   |name |age      |
    +-----+-----+---------+
    |1    |SPJ  |40 -> 41 |
    +-----+-----+---------+
    |2    |Simon|41       |
    +-----+-----+---------+
    

Page 145 of many | Previous | Next