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.
(
&. ) :: GTraversal c a b -> Walk c b d -> GTraversal c a dgreskell Data.Greskell.GTraversal Apply the Walk to the GTraversal. In Gremlin, this means calling a chain of methods on the Traversal object.
(
<$.> ) :: Functor f => Walk c b d -> f (GTraversal c a b) -> f (GTraversal c a d)greskell Data.Greskell.GTraversal (
<*.> ) :: Applicative f => f (Walk c b d) -> f (GTraversal c a b) -> f (GTraversal c a d)greskell Data.Greskell.GTraversal (
$. ) :: Walk c b d -> GTraversal c a b -> GTraversal c a dgreskell Data.Greskell.GTraversal.Gen Same as &. with arguments flipped.
(
&. ) :: GTraversal c a b -> Walk c b d -> GTraversal c a dgreskell Data.Greskell.GTraversal.Gen Apply the Walk to the GTraversal. In Gremlin, this means calling a chain of methods on the Traversal object.
(
<$.> ) :: Functor f => Walk c b d -> f (GTraversal c a b) -> f (GTraversal c a d)greskell Data.Greskell.GTraversal.Gen (
<*.> ) :: Applicative f => f (Walk c b d) -> f (GTraversal c a b) -> f (GTraversal c a d)greskell Data.Greskell.GTraversal.Gen (
!=. ) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Filter vhledger-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 | +-----+-----+-----+
(
*=. ) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Update vhledger-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 | +-----+-----+--------+
(
+=. ) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Update vhledger-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 | +-----+-----+---------+