Hoogle Search
Within LTS Haskell 22.18 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
.| ) :: OnObject o a => o a -> a -> o ajson-stream Data.JsonStream.Parser Return default value if the parsers on the left hand didn't produce a result.
p .| defval = p <|> pure defval
The operator works on complete left side, the following statements are equal:Record <$> "key1" .: "nested-key" .: value .| defaultValue Record <$> (("key1" .: "nested-key" .: value) .| defaultValue)
(
.|. ) :: Bits a => a -> a -> abase Data.Bits Bitwise "or"
(
.|. ) :: Bits a => a -> a -> abase GHC.Bits Bitwise "or"
(
.||. ) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> PropertyQuickCheck Test.QuickCheck Disjunction: p1 .||. p2 passes unless p1 and p2 simultaneously fail.
(
.||. ) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Propertytasty-quickcheck Test.Tasty.QuickCheck Disjunction: p1 .||. p2 passes unless p1 and p2 simultaneously fail.
(
.|.= ) :: (MonadState s m, Bits a) => ASetter' s a -> a -> m ()lens Data.Bits.Lens Modify the target(s) of a Lens', Setter or Traversal by computing its bitwise .|. with another value.
>>> execState (do _1 .|.= 15; _2 .|.= 3) (7,7) (15,7)
(.|.=) :: (MonadState s m, Bits a) => Setter' s a -> a -> m () (.|.=) :: (MonadState s m, Bits a) => Iso' s a -> a -> m () (.|.=) :: (MonadState s m, Bits a) => Lens' s a -> a -> m () (.|.=) :: (MonadState s m, Bits a) => Traversal' s a -> a -> m ()
(
.|.~ ) :: Bits a => ASetter s t a a -> a -> s -> tlens Data.Bits.Lens Bitwise .|. the target(s) of a Lens or Setter.
>>> _2 .|.~ 6 $ ("hello",3) ("hello",7)
(.|.~) :: Bits a => Setter s t a a -> a -> s -> t (.|.~) :: Bits a => Iso s t a a -> a -> s -> t (.|.~) :: Bits a => Lens s t a a -> a -> s -> t (.|.~) :: (Monoid a, Bits a) => Traversal s t a a -> a -> s -> t
(
.|. ) :: JExpr -> JExpr -> JExprghc GHC.JS.Make JS infix bit operators
(
.||. ) :: JExpr -> JExpr -> JExprghc GHC.JS.Make JS infix bit operators
(
.|. ) :: Bits a => a -> a -> aghc GHC.Prelude.Basic Bitwise "or"