We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f7c55 commit c22831fCopy full SHA for c22831f
src/Data/Array.purs
@@ -68,7 +68,6 @@ module Data.Array
68
, filter
69
, partition
70
, filterA
71
- , filterM
72
, mapMaybe
73
, catMaybes
74
, mapWithIndex
@@ -429,10 +428,6 @@ filterA p =
429
428
traverse (\x -> Tuple x <$> p x)
430
>>> map (mapMaybe (\(Tuple x b) -> if b then Just x else Nothing))
431
432
--- | Deprecated alias for `filterA`.
433
-filterM :: forall a m. Monad m => (a -> m Boolean) -> Array a -> m (Array a)
434
-filterM = filterA
435
-
436
-- | Apply a function to each element in an array, keeping only the results
437
-- | which contain a value, creating a new array.
438
mapMaybe :: forall a b. (a -> Maybe b) -> Array a -> Array b
0 commit comments