|
25 | 25 |
|
26 | 26 | ### Values |
27 | 27 |
|
28 | | - all :: forall a f. (Foldable f) => (a -> Prim.Boolean) -> f a -> Prim.Boolean |
| 28 | + all :: forall a f. (Foldable f) => (a -> Boolean) -> f a -> Boolean |
29 | 29 |
|
30 | | - and :: forall f. (Foldable f) => f Prim.Boolean -> Prim.Boolean |
| 30 | + and :: forall f. (Foldable f) => f Boolean -> Boolean |
31 | 31 |
|
32 | | - any :: forall a f. (Foldable f) => (a -> Prim.Boolean) -> f a -> Prim.Boolean |
| 32 | + any :: forall a f. (Foldable f) => (a -> Boolean) -> f a -> Boolean |
33 | 33 |
|
34 | | - elem :: forall a f. (Eq a, Foldable f) => a -> f a -> Prim.Boolean |
| 34 | + elem :: forall a f. (Eq a, Foldable f) => a -> f a -> Boolean |
35 | 35 |
|
36 | | - find :: forall a f. (Foldable f) => (a -> Prim.Boolean) -> f a -> Maybe a |
| 36 | + find :: forall a f. (Foldable f) => (a -> Boolean) -> f a -> Maybe a |
37 | 37 |
|
38 | 38 | fold :: forall f m. (Foldable f, Monoid m) => f m -> m |
39 | 39 |
|
|
47 | 47 |
|
48 | 48 | mconcat :: forall f m. (Foldable f, Monoid m) => f m -> m |
49 | 49 |
|
50 | | - notElem :: forall a f. (Eq a, Foldable f) => a -> f a -> Prim.Boolean |
| 50 | + notElem :: forall a f. (Eq a, Foldable f) => a -> f a -> Boolean |
51 | 51 |
|
52 | | - or :: forall f. (Foldable f) => f Prim.Boolean -> Prim.Boolean |
| 52 | + or :: forall f. (Foldable f) => f Boolean -> Boolean |
53 | 53 |
|
54 | | - product :: forall f. (Foldable f) => f Prim.Number -> Prim.Number |
| 54 | + product :: forall f. (Foldable f) => f Number -> Number |
55 | 55 |
|
56 | 56 | sequence_ :: forall a f m. (Applicative m, Foldable f) => f (m a) -> m Unit |
57 | 57 |
|
58 | | - sum :: forall f. (Foldable f) => f Prim.Number -> Prim.Number |
| 58 | + sum :: forall f. (Foldable f) => f Number -> Number |
59 | 59 |
|
60 | 60 | traverse_ :: forall a b f m. (Applicative m, Foldable f) => (a -> m b) -> f a -> m Unit |
61 | 61 |
|
|
64 | 64 |
|
65 | 65 | ### Type Classes |
66 | 66 |
|
67 | | - class Traversable t where |
| 67 | + class (Functor t, Foldable t) <= Traversable t where |
68 | 68 | traverse :: forall a b m. (Applicative m) => (a -> m b) -> t a -> m (t b) |
69 | 69 | sequence :: forall a m. (Applicative m) => t (m a) -> m (t a) |
70 | 70 |
|
|
86 | 86 |
|
87 | 87 | for :: forall a b m t. (Applicative m, Traversable t) => t a -> (a -> m b) -> m (t b) |
88 | 88 |
|
89 | | - zipWithA :: forall m a b c. (Applicative m) => (a -> b -> m c) -> [a] -> [b] -> m [c] |
| 89 | + zipWithA :: forall m a b c. (Applicative m) => (a -> b -> m c) -> [a] -> [b] -> m [c] |
0 commit comments