File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ module Data.Witherable
9
9
, withered
10
10
, witherDefault
11
11
, wiltDefault
12
- , module Data.Compactable
12
+ , module Data.Filterable
13
13
) where
14
14
15
15
import Control.Applicative (class Applicative , pure )
16
16
import Control.Category ((<<<), id )
17
- import Data.Compactable (class Compactable , compact , separate )
17
+ import Data.Compactable (compact , separate )
18
18
import Data.Either (Either (..))
19
+ import Data.Filterable (class Filterable )
19
20
import Data.Functor (map )
20
21
import Data.Identity (Identity (..))
21
22
import Data.List (List )
@@ -53,7 +54,7 @@ import Prelude (class Ord)
53
54
-- | - `partitionMapByWilt`
54
55
-- | - `filterMapByWither`
55
56
-- | - `traverseByWither`
56
- class (Compactable t , Traversable t ) <= Witherable t where
57
+ class (Filterable t , Traversable t ) <= Witherable t where
57
58
wilt :: forall m a l r . Applicative m =>
58
59
(a -> m (Either l r )) -> t a -> m { left :: t l , right :: t r }
59
60
You can’t perform that action at this time.
0 commit comments