Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. data JulianYear

    units-defs Data.Units.Astronomical

    No documentation available.

  2. JulianYear :: JulianYear

    units-defs Data.Units.Astronomical

    No documentation available.

  3. satisfyAny :: (Foldable t, Semigroup e) => t (Validator e inp a) -> Validator e inp a

    valida Valida.Combinators

    Build a validator that succeeds if any of the given validators succeed. If all fail, the errors are combined. The first (left-most) Success is returned. If all fail, the errors are combined. Remaining validators are not used once one succeeds.

    satisfyAny = foldl1 orElse
    
    satisfyAny = foldr1 orElse
    
    satisfyAny = foldl orElse failV
    
    satisfyAny = foldr orElse failV
    

  4. satisfyAny :: (Foldable t, Semigroup e) => t (ValidationRule e a) -> ValidationRule e a

    valida-base Valida.Combinators

    Build a rule that succeeds if any of the given rules succeed. If all fail, the errors are combined.

    satisfyAny = foldl1 orElse
    
    satisfyAny = foldr1 orElse
    
    satisfyAny = foldl orElse falseRule
    
    satisfyAny = foldr orElse falseRule
    

  5. stepMany :: Monad m => VarT m a b -> [a] -> a -> m (b, VarT m a b)

    varying Control.Varying.Core

    Iterate a var over a list of input until all input is consumed, then iterate the var using one single input. Returns the resulting output value and the new var.

    >>> let Identity (outputs, _) = stepMany (accumulate (+) 0) [1,1,1] 1
    
    >>> print outputs
    4
    

  6. raceAny :: forall (m :: Type -> Type) b a c . (Monad m, Monoid b) => [SplineT a b m c] -> SplineT a b m c

    varying Control.Varying.Spline

    Run many splines in parallel, combining their output with mappend. Returns the result of the spline that concludes first. If any conclude at the same time the leftmost result will be returned.

    >>> :{
    let ss = [ pure "hey "   `_untilEvent` (1 >>> after 5)
    , pure "there"  `_untilEvent` (1 >>> after 3)
    , pure "!"      `_untilEvent` (1 >>> after 2)
    ]
    s = do winner <- raceAny ss
    step $ show winner
    v = outputStream s ""
    in testVarOver v [(),()]
    
    >>> :}
    "hey there!"
    "2"
    

  7. TooManyResponses :: StatusCodeValue

    wai-saml2 Network.Wai.SAML2.StatusCode

    The response message would contain more elements than the SAML responder is able to return.

  8. multiEventMany :: forall (es :: [Type]) m . (PollFilters es, QueryAllLogs es, MapHandlers m es (WithChange es), RPureConstrained HasLogIndex (WithChange es), RecApplicative (WithChange es), JsonRpc m) => MultiFilter es -> Integer -> Handlers es (ReaderT Change m EventAction) -> m ()

    web3-ethereum Network.Ethereum.Contract.Event.MultiFilter

    No documentation available.

  9. multiEventManyNoFilter :: forall (es :: [Type]) m . (QueryAllLogs es, MapHandlers m es (WithChange es), RPureConstrained HasLogIndex (WithChange es), RecApplicative (WithChange es), JsonRpc m) => MultiFilter es -> Integer -> Handlers es (ReaderT Change m EventAction) -> m ()

    web3-ethereum Network.Ethereum.Contract.Event.MultiFilter

    No documentation available.

  10. eventMany :: (DecodeEvent i ni e, JsonRpc m) => Filter e -> Integer -> (e -> ReaderT Change m EventAction) -> m ()

    web3-ethereum Network.Ethereum.Contract.Event.SingleFilter

    eventMany take s a filter, a window size, and a handler. It runs the handler over the results of eventLogs results using reduceEventStream. If no TerminateEvent action is thrown and the toBlock is not yet reached, it then transitions to polling.

Page 248 of many | Previous | Next