Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype ApAll f = ApAll {}
- checkMigrationCriteria :: (Member BrigAccess r, Member FederatorAccess r) => UTCTime -> MLSConversation -> LockableFeature MlsMigrationConfig -> Sem r Bool
Documentation
Similar to Ap f All
, but short-circuiting.
For example:
ApAll (pure False) <> ApAll (putStrLn "hi" $> True)
does not print anything.
checkMigrationCriteria :: (Member BrigAccess r, Member FederatorAccess r) => UTCTime -> MLSConversation -> LockableFeature MlsMigrationConfig -> Sem r Bool Source #