polyglot-0.1.1.0: Haskell to Purescript & Scala 3 transpiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Utils.Foldable

Documentation

hasNone :: Foldable t => t a -> Bool Source #

hasSome :: Foldable t => t a -> Bool Source #

wrapMaybe :: Foldable t => t a -> Maybe (t a) Source #

orPred :: (Foldable t, Functor t) => t (p -> Bool) -> p -> Bool Source #

andPred :: (Foldable t, Functor t) => t (p -> Bool) -> p -> Bool Source #