Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
--..- ) :: (Expr, Expr) -> Expr -> Exprexpress Data.Express.Fixtures enumFromThenTo lifted over Exprs but named as ",.." for pretty-printing.
> (zero,two) --..- ten [0,2..10] :: [Int]
-
express Data.Express.Fixtures Function composition . lifted over Expr.
> absE -.- negateE abs . negate :: Int -> Int
> absE -.- negateE :$ one (abs . negate) 1 :: Int
This works for Int, Bool, Char and their lists. -
express Data.Express.Fixtures enumFrom lifted over Exprs named as ".." for pretty-printing.
> one -.. () [1..] :: [Int]
Works for Ints, Bools and Chars. (
-..- ) :: Expr -> Expr -> Exprexpress Data.Express.Fixtures enumFromTo lifted over Exprs but named as ".." for pretty-printing.
> zero -..- four [0..4] :: [Int]
(
>.< ) :: Space s => Element s -> Element s -> snumhask-space NumHask.Space create a space from two elements without normalising
(
|. ) :: Affinity a b => Transform b -> a -> anumhask-space NumHask.Space (
|.| ) :: Space s => Element s -> s -> Boolnumhask-space NumHask.Space is an element in the space
(
<.> ) :: (Multiplicative a, Additive a) => Point a -> Point a -> anumhask-space NumHask.Space.Point dot product operator
(
<@. ) :: EntityField record Value -> Value -> Filter recordpersistent-postgresql Database.Persist.Postgresql.JSON Same as @>. except the inclusion check is reversed. i.e. is the JSON value on the left hand side included in the JSON value of the right hand side.
(
?&. ) :: EntityField record Value -> [Text] -> Filter recordpersistent-postgresql Database.Persist.Postgresql.JSON This operator takes a column and a list of strings to test whether ALL of the elements of the list are top level fields in an object.
column ?&. list
N.B. An empty list will match anything. Also, this operator might have some unexpected interactions with non-object values. Please reference the examples.Objects
{"a":null} ?& ["a"] == True {"a":null} ?& ["a","a"] == True {"test":false,"a":500} ?& ["a"] == True {"test":false,"a":500} ?& ["a","b"] == False {} ?& ["{}"] == False {"b":{"a":[]}} ?& ["a"] == False {"b":{"a":[]},"c":false} ?& ["a","c"] == False {"a":1,"b":2,"c":3,"d":4} ?& ["b","d"] == True {} ?& [] == True {"b":{"a":[]},"test":null} ?& [] == TrueArrays
This operator will match an array if all of the elements of the list are matching string elements of the array.["a"] ?& ["a"] == True ["a"] ?& ["a","a"] == True [["a"]] ?& ["a"] == False ["a","b","c"] ?& ["a","b","d"] == False [9,"false","1",null] ?& ["1","false"] == True [] ?& ["a","b"] == False [{"a":true}] ?& ["a"] == False ["a","b","c","d"] ?& ["b","c","d"] == True [null,4,{"test":false}] ?& [] == True [] ?& [] == TrueOther values
This operator functions much like an equivalence operator on strings only. If a string matches with all elements of the given list, the comparison matches."a" ?& ["a"] == True "1" ?& ["a","1"] == False "b" ?& ["b","b"] == True "ab" ?& ["a","b"] == False 1 ?& ["1"] == False null ?& ["null"] == False true ?& ["true"] == False 31337 ?& [] == True true ?& [] == True null ?& [] == True