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.
(
+% ) :: Show a => String -> a -> Stringpercent-format Text.PercentFormat Just an alias to % for use whenever Data.Ratio is in scope.
import Data.Ratio import Text.PercentFormat hiding ((%)) "..." +% 1 -% 2
(
+=. ) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Update vpersistent-mtl Database.Persist.Sql.Shim 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 | +-----+-----+---------+
(
+=. ) :: forall v typ . PersistField typ => EntityField v typ -> typ -> Update vpersistent-redis Database.Persist.Redis 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 | +-----+-----+---------+
-
pipes-extras Pipes.Extras Like (+++) from ArrowChoice
pL +++ pR = left pL >-> right pR
-
range Data.Range Mathematically equivalent to [x, y). x +=* y is the short version of SpanRange (Bound x Inclusive) (Bound y Exclusive)
-
range Data.Range Mathematically equivalent to [x, y]. x +=+ y is the short version of SpanRange (Bound x Inclusive) (Bound y Inclusive)
-
range Data.Ranges No documentation available.
-
range Data.Ranges No documentation available.
(
+++ ) :: AddR n m v w => RangeR n m a -> RangeR v w a -> RangeR (n + v) (m + w) aranged-list Data.List.Length To concatenate two lists whose types are RangeR n m a and RangeR v w a.
>>> :set -XDataKinds >>> sampleRangeR1 = NilR :++ 'f' :+ 'o' :+ 'o' :: RangeR 2 5 Char >>> sampleRangeR2 = NilR :++ 'b' :++ 'a' :+ 'r' :: RangeR 1 6 Char >>> sampleRangeR1 +++ sampleRangeR2 (((((NilR :++ 'f') :++ 'o') :++ 'o') :+ 'b') :+ 'a') :+ 'r' >>> :type sampleRangeR1 +++ sampleRangeR2 sampleRangeR1 +++ sampleRangeR2 :: RangeR 3 11 Char
(
++. ) :: AddL n m v w => RangeL n m a -> RangeL v w a -> RangeL (n + v) (m + w) aranged-list Data.List.Length To concatenate two lists whose types are RangeL n m a and RangeL v w a.
>>> :set -XDataKinds >>> sampleAddL1 = 'f' :. 'o' :. 'o' :.. NilL :: RangeL 2 5 Char >>> sampleAddL2 = 'b' :. 'a' :.. 'r' :.. NilL :: RangeL 1 6 Char >>> sampleAddL1 ++. sampleAddL2 'f' :. ('o' :. ('o' :. ('b' :.. ('a' :.. ('r' :.. NilL))))) >>> :type sampleAddL1 ++. sampleAddL2 sampleAddL1 ++. sampleAddL2 :: RangeL 3 11 Char