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.

  1. (.|) :: OnObject o a => o a -> a -> o a

    json-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)
    

  2. (.|.) :: Bits a => a -> a -> a

    base Data.Bits

    Bitwise "or"

  3. (.|.) :: Bits a => a -> a -> a

    base GHC.Bits

    Bitwise "or"

  4. (.||.) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Property

    QuickCheck Test.QuickCheck

    Disjunction: p1 .||. p2 passes unless p1 and p2 simultaneously fail.

  5. (.||.) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Disjunction: p1 .||. p2 passes unless p1 and p2 simultaneously fail.

  6. (.|.=) :: (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 ()
    

  7. (.|.~) :: Bits a => ASetter s t a a -> a -> s -> t

    lens 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
    

  8. (.|.) :: JExpr -> JExpr -> JExpr

    ghc GHC.JS.Make

    JS infix bit operators

  9. (.||.) :: JExpr -> JExpr -> JExpr

    ghc GHC.JS.Make

    JS infix bit operators

  10. (.|.) :: Bits a => a -> a -> a

    ghc GHC.Prelude.Basic

    Bitwise "or"

Page 2 of many | Previous | Next