Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. (>=.) :: x -> Double -> Inequality x

    coinor-clp Numeric.COINOR.CLP

    No documentation available.

  2. (>=<.) :: x -> (Double, Double) -> Inequality x

    coinor-clp Numeric.COINOR.CLP

    No documentation available.

  3. (<=.) :: x -> Double -> Inequality x

    comfort-glpk Numeric.GLPK

    No documentation available.

  4. (==.) :: x -> Double -> Inequality x

    comfort-glpk Numeric.GLPK

    No documentation available.

  5. (>=.) :: x -> Double -> Inequality x

    comfort-glpk Numeric.GLPK

    No documentation available.

  6. (>=<.) :: x -> (Double, Double) -> Inequality x

    comfort-glpk Numeric.GLPK

    No documentation available.

  7. (?.) :: (ToBool bool, Category cat) => bool -> cat a a -> cat a a

    cond Control.Conditional

    Conditional composition. If the predicate is False, id is returned instead of the second argument. This function, for example, can be used to conditionally add functions to a composition chain.

  8. (|.) :: forall (m :: Type -> Type) a b u v c r . Monad m => Pipe a b u m v -> Pipe b c v m r -> Pipe a c u m v

    conduino Data.Conduino

    Like .|, but keep the result of the first pipe, instead of the second. This means that p |. q will only terminate with a result when both p and q terminate. (Typically, p .| q would terminate as soon as q terminates.)

  9. (!..:) :: FromJSON b => Lens' a b -> Text -> Object -> Parser (a -> a)

    configuration-tools Configuration.Utils.ConfigFile

    This operator requires that a value is explicitly provided in a configuration file, thus preventing the default value from being used. Otherwise this operator does the same as (..:).

  10. (%.:) :: FromJSON (b -> b) => Setter' a b -> Text -> Object -> Parser (a -> a)

    configuration-tools Configuration.Utils.ConfigFile

    A variant of updateProperty that uses the FromJSON instance for the update function. It mimics the aeson operator .:. It creates a parser that modifies a setter with a parsed function.

    data HttpURL = HttpURL
    { _auth ∷ !Auth
    , _domain ∷ !String
    }
    
    auth ∷ Functor f ⇒ (Auth → f Auth) → HttpURL → f HttpURL
    auth f s = (\u → s { _auth = u }) <$> f (_auth s)
    
    domain ∷ Functor f ⇒ (String → f String) → HttpURL → f HttpURL
    domain f s = (\u → s { _domain = u }) <$> f (_domain s)
    
    path ∷ Functor f ⇒ (String → f String) → HttpURL → f HttpURL
    path f s = (\u → s { _path = u }) <$> f (_path s)
    
    -- or with lenses and TemplateHaskell just:
    -- $(makeLenses ''HttpURL)
    
    instance FromJSON (HttpURL → HttpURL) where
    parseJSON = withObject "HttpURL" $ \o → id
    <$< auth %.: "auth" % o
    <*< domain ..: "domain" % o
    

Page 142 of many | Previous | Next