Socket
Socket
Sign inDemoInstall

sanctuary-type-classes

Package Overview
Dependencies
1
Maintainers
12
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.1.0

22

index.js

@@ -466,3 +466,3 @@ /*

//.
//. > Traversable.test({})
//. > Traversable.test('')
//. false

@@ -865,7 +865,16 @@ //. ```

function Object$prototype$reduce(f, initial) {
var result = initial;
for (var k in this) result = f(result, this[k]);
return result;
var self = this;
function reducer(acc, k) { return f(acc, self[k]); }
return Object.keys(this).sort().reduce(reducer, initial);
}
// Object$prototype$traverse :: Applicative f => StrMap a ~> (TypeRep f, a -> f b) -> f (StrMap b)
function Object$prototype$traverse(typeRep, f) {
var self = this;
return Object.keys(this).reduce(function(applicative, k) {
function set(o) { return function(v) { o[k] = v; return o; }; }
return lift2(set, applicative, f(self[k]));
}, of(typeRep, {}));
}
// Function$of :: b -> (a -> b)

@@ -1016,3 +1025,4 @@ function Function$of(x) {

'fantasy-land/alt': Object$prototype$alt,
'fantasy-land/reduce': Object$prototype$reduce
'fantasy-land/reduce': Object$prototype$reduce,
'fantasy-land/traverse': Object$prototype$traverse
}

@@ -1668,3 +1678,3 @@ },

//. `fantasy-land/traverse` implementations are provided for the following
//. built-in types: Array.
//. built-in types: Array and Object.
//.

@@ -1671,0 +1681,0 @@ //. See also [`sequence`](#sequence).

{
"name": "sanctuary-type-classes",
"version": "5.0.0",
"version": "5.1.0",
"description": "Standard library for Fantasy Land",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -56,3 +56,3 @@ # sanctuary-type-classes

<h4 name="TypeClass"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L128">TypeClass :: (String, Array TypeClass, a -> Boolean) -> TypeClass</a></code></h4>
<h4 name="TypeClass"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L128">TypeClass :: (String, Array TypeClass, a -> Boolean) -> TypeClass</a></code></h4>

@@ -93,3 +93,3 @@ The arguments are:

<h4 name="Setoid"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L253">Setoid :: TypeClass</a></code></h4>
<h4 name="Setoid"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L253">Setoid :: TypeClass</a></code></h4>

@@ -103,3 +103,3 @@ `TypeClass` value for [Setoid][].

<h4 name="Ord"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L263">Ord :: TypeClass</a></code></h4>
<h4 name="Ord"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L263">Ord :: TypeClass</a></code></h4>

@@ -116,3 +116,3 @@ `TypeClass` value for [Ord][].

<h4 name="Semigroup"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L276">Semigroup :: TypeClass</a></code></h4>
<h4 name="Semigroup"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L276">Semigroup :: TypeClass</a></code></h4>

@@ -129,3 +129,3 @@ `TypeClass` value for [Semigroup][].

<h4 name="Monoid"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L289">Monoid :: TypeClass</a></code></h4>
<h4 name="Monoid"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L289">Monoid :: TypeClass</a></code></h4>

@@ -142,3 +142,3 @@ `TypeClass` value for [Monoid][].

<h4 name="Functor"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L302">Functor :: TypeClass</a></code></h4>
<h4 name="Functor"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L302">Functor :: TypeClass</a></code></h4>

@@ -155,3 +155,3 @@ `TypeClass` value for [Functor][].

<h4 name="Bifunctor"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L315">Bifunctor :: TypeClass</a></code></h4>
<h4 name="Bifunctor"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L315">Bifunctor :: TypeClass</a></code></h4>

@@ -168,3 +168,3 @@ `TypeClass` value for [Bifunctor][].

<h4 name="Profunctor"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L328">Profunctor :: TypeClass</a></code></h4>
<h4 name="Profunctor"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L328">Profunctor :: TypeClass</a></code></h4>

@@ -181,3 +181,3 @@ `TypeClass` value for [Profunctor][].

<h4 name="Apply"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L341">Apply :: TypeClass</a></code></h4>
<h4 name="Apply"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L341">Apply :: TypeClass</a></code></h4>

@@ -194,3 +194,3 @@ `TypeClass` value for [Apply][].

<h4 name="Applicative"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L354">Applicative :: TypeClass</a></code></h4>
<h4 name="Applicative"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L354">Applicative :: TypeClass</a></code></h4>

@@ -207,3 +207,3 @@ `TypeClass` value for [Applicative][].

<h4 name="Chain"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L367">Chain :: TypeClass</a></code></h4>
<h4 name="Chain"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L367">Chain :: TypeClass</a></code></h4>

@@ -220,3 +220,3 @@ `TypeClass` value for [Chain][].

<h4 name="ChainRec"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L380">ChainRec :: TypeClass</a></code></h4>
<h4 name="ChainRec"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L380">ChainRec :: TypeClass</a></code></h4>

@@ -233,3 +233,3 @@ `TypeClass` value for [ChainRec][].

<h4 name="Monad"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L393">Monad :: TypeClass</a></code></h4>
<h4 name="Monad"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L393">Monad :: TypeClass</a></code></h4>

@@ -246,3 +246,3 @@ `TypeClass` value for [Monad][].

<h4 name="Alt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L406">Alt :: TypeClass</a></code></h4>
<h4 name="Alt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L406">Alt :: TypeClass</a></code></h4>

@@ -259,3 +259,3 @@ `TypeClass` value for [Alt][].

<h4 name="Plus"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L419">Plus :: TypeClass</a></code></h4>
<h4 name="Plus"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L419">Plus :: TypeClass</a></code></h4>

@@ -272,3 +272,3 @@ `TypeClass` value for [Plus][].

<h4 name="Alternative"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L432">Alternative :: TypeClass</a></code></h4>
<h4 name="Alternative"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L432">Alternative :: TypeClass</a></code></h4>

@@ -285,3 +285,3 @@ `TypeClass` value for [Alternative][].

<h4 name="Foldable"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L445">Foldable :: TypeClass</a></code></h4>
<h4 name="Foldable"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L445">Foldable :: TypeClass</a></code></h4>

@@ -298,3 +298,3 @@ `TypeClass` value for [Foldable][].

<h4 name="Traversable"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L458">Traversable :: TypeClass</a></code></h4>
<h4 name="Traversable"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L458">Traversable :: TypeClass</a></code></h4>

@@ -307,7 +307,7 @@ `TypeClass` value for [Traversable][].

> Traversable.test({})
> Traversable.test('')
false
```
<h4 name="Extend"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L471">Extend :: TypeClass</a></code></h4>
<h4 name="Extend"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L471">Extend :: TypeClass</a></code></h4>

@@ -324,3 +324,3 @@ `TypeClass` value for [Extend][].

<h4 name="Comonad"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L484">Comonad :: TypeClass</a></code></h4>
<h4 name="Comonad"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L484">Comonad :: TypeClass</a></code></h4>

@@ -337,3 +337,3 @@ `TypeClass` value for [Comonad][].

<h4 name="Contravariant"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L497">Contravariant :: TypeClass</a></code></h4>
<h4 name="Contravariant"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L497">Contravariant :: TypeClass</a></code></h4>

@@ -350,3 +350,3 @@ `TypeClass` value for [Contravariant][].

<h4 name="toString"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1032">toString :: a -> String</a></code></h4>
<h4 name="toString"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1042">toString :: a -> String</a></code></h4>

@@ -377,3 +377,3 @@ Returns a useful string representation of its argument.

<h4 name="equals"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1080">equals :: (a, b) -> Boolean</a></code></h4>
<h4 name="equals"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1090">equals :: (a, b) -> Boolean</a></code></h4>

@@ -407,3 +407,3 @@ Returns `true` if its arguments are of the same type and equal according

<h4 name="lt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1130">lt :: (a, b) -> Boolean</a></code></h4>
<h4 name="lt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1140">lt :: (a, b) -> Boolean</a></code></h4>

@@ -429,3 +429,3 @@ Returns `true` if its arguments are of the same type and the first is

<h4 name="lte"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1154">lte :: (a, b) -> Boolean</a></code></h4>
<h4 name="lte"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1164">lte :: (a, b) -> Boolean</a></code></h4>

@@ -456,3 +456,3 @@ Returns `true` if its arguments are of the same type and the first

<h4 name="gt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1201">gt :: (a, b) -> Boolean</a></code></h4>
<h4 name="gt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1211">gt :: (a, b) -> Boolean</a></code></h4>

@@ -478,3 +478,3 @@ Returns `true` if its arguments are of the same type and the first is

<h4 name="gte"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1225">gte :: (a, b) -> Boolean</a></code></h4>
<h4 name="gte"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1235">gte :: (a, b) -> Boolean</a></code></h4>

@@ -500,3 +500,3 @@ Returns `true` if its arguments are of the same type and the first

<h4 name="concat"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1249">concat :: Semigroup a => (a, a) -> a</a></code></h4>
<h4 name="concat"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1259">concat :: Semigroup a => (a, a) -> a</a></code></h4>

@@ -522,3 +522,3 @@ Function wrapper for [`fantasy-land/concat`][].

<h4 name="empty"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1273">empty :: Monoid m => TypeRep m -> m</a></code></h4>
<h4 name="empty"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1283">empty :: Monoid m => TypeRep m -> m</a></code></h4>

@@ -544,3 +544,3 @@ Function wrapper for [`fantasy-land/empty`][].

<h4 name="map"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1297">map :: Functor f => (a -> b, f a) -> f b</a></code></h4>
<h4 name="map"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1307">map :: Functor f => (a -> b, f a) -> f b</a></code></h4>

@@ -572,3 +572,3 @@ Function wrapper for [`fantasy-land/map`][].

<h4 name="bimap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1327">bimap :: Bifunctor f => (a -> b, c -> d, f a c) -> f b d</a></code></h4>
<h4 name="bimap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1337">bimap :: Bifunctor f => (a -> b, c -> d, f a c) -> f b d</a></code></h4>

@@ -582,3 +582,3 @@ Function wrapper for [`fantasy-land/bimap`][].

<h4 name="promap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1339">promap :: Profunctor p => (a -> b, c -> d, p b c) -> p a d</a></code></h4>
<h4 name="promap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1349">promap :: Profunctor p => (a -> b, c -> d, p b c) -> p a d</a></code></h4>

@@ -595,3 +595,3 @@ Function wrapper for [`fantasy-land/promap`][].

<h4 name="ap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1354">ap :: Apply f => (f (a -> b), f a) -> f b</a></code></h4>
<h4 name="ap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1364">ap :: Apply f => (f (a -> b), f a) -> f b</a></code></h4>

@@ -620,3 +620,3 @@ Function wrapper for [`fantasy-land/ap`][].

<h4 name="lift2"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1381">lift2 :: Apply f => (a -> b -> c, f a, f b) -> f c</a></code></h4>
<h4 name="lift2"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1391">lift2 :: Apply f => (a -> b -> c, f a, f b) -> f c</a></code></h4>

@@ -638,3 +638,3 @@ Lifts `a -> b -> c` to `Apply f => f a -> f b -> f c` and returns the

<h4 name="lift3"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1401">lift3 :: Apply f => (a -> b -> c -> d, f a, f b, f c) -> f d</a></code></h4>
<h4 name="lift3"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1411">lift3 :: Apply f => (a -> b -> c -> d, f a, f b, f c) -> f d</a></code></h4>

@@ -656,3 +656,3 @@ Lifts `a -> b -> c -> d` to `Apply f => f a -> f b -> f c -> f d` and

<h4 name="apFirst"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1421">apFirst :: Apply f => (f a, f b) -> f a</a></code></h4>
<h4 name="apFirst"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1431">apFirst :: Apply f => (f a, f b) -> f a</a></code></h4>

@@ -674,3 +674,3 @@ Combines two effectful actions, keeping only the result of the first.

<h4 name="apSecond"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1441">apSecond :: Apply f => (f a, f b) -> f b</a></code></h4>
<h4 name="apSecond"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1451">apSecond :: Apply f => (f a, f b) -> f b</a></code></h4>

@@ -692,3 +692,3 @@ Combines two effectful actions, keeping only the result of the second.

<h4 name="of"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1461">of :: Applicative f => (TypeRep f, a) -> f a</a></code></h4>
<h4 name="of"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1471">of :: Applicative f => (TypeRep f, a) -> f a</a></code></h4>

@@ -711,3 +711,3 @@ Function wrapper for [`fantasy-land/of`][].

<h4 name="chain"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1482">chain :: Chain m => (a -> m b, m a) -> m b</a></code></h4>
<h4 name="chain"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1492">chain :: Chain m => (a -> m b, m a) -> m b</a></code></h4>

@@ -730,3 +730,3 @@ Function wrapper for [`fantasy-land/chain`][].

<h4 name="join"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1503">join :: Chain m => m (m a) -> m a</a></code></h4>
<h4 name="join"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1513">join :: Chain m => m (m a) -> m a</a></code></h4>

@@ -748,3 +748,3 @@ Removes one level of nesting from a nested monadic structure.

<h4 name="chainRec"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1523">chainRec :: ChainRec m => (TypeRep m, (a -> c, b -> c, a) -> m c, a) -> m b</a></code></h4>
<h4 name="chainRec"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1533">chainRec :: ChainRec m => (TypeRep m, (a -> c, b -> c, a) -> m c, a) -> m b</a></code></h4>

@@ -766,3 +766,3 @@ Function wrapper for [`fantasy-land/chainRec`][].

<h4 name="filter"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1543">filter :: (Applicative f, Foldable f, Monoid (f a)) => (a -> Boolean, f a) -> f a</a></code></h4>
<h4 name="filter"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1553">filter :: (Applicative f, Foldable f, Monoid (f a)) => (a -> Boolean, f a) -> f a</a></code></h4>

@@ -784,3 +784,3 @@ Filters its second argument in accordance with the given predicate.

<h4 name="filterM"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1566">filterM :: (Alternative m, Monad m) => (a -> Boolean, m a) -> m a</a></code></h4>
<h4 name="filterM"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1576">filterM :: (Alternative m, Monad m) => (a -> Boolean, m a) -> m a</a></code></h4>

@@ -811,3 +811,3 @@ Filters its second argument in accordance with the given predicate.

<h4 name="alt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1597">alt :: Alt f => (f a, f a) -> f a</a></code></h4>
<h4 name="alt"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1607">alt :: Alt f => (f a, f a) -> f a</a></code></h4>

@@ -833,3 +833,3 @@ Function wrapper for [`fantasy-land/alt`][].

<h4 name="zero"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1621">zero :: Plus f => TypeRep f -> f a</a></code></h4>
<h4 name="zero"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1631">zero :: Plus f => TypeRep f -> f a</a></code></h4>

@@ -852,3 +852,3 @@ Function wrapper for [`fantasy-land/zero`][].

<h4 name="reduce"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1642">reduce :: Foldable f => ((b, a) -> b, b, f a) -> b</a></code></h4>
<h4 name="reduce"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1652">reduce :: Foldable f => ((b, a) -> b, b, f a) -> b</a></code></h4>

@@ -868,3 +868,3 @@ Function wrapper for [`fantasy-land/reduce`][].

<h4 name="traverse"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1660">traverse :: (Applicative f, Traversable t) => (TypeRep f, a -> f b, t a) -> f (t b)</a></code></h4>
<h4 name="traverse"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1670">traverse :: (Applicative f, Traversable t) => (TypeRep f, a -> f b, t a) -> f (t b)</a></code></h4>

@@ -874,3 +874,3 @@ Function wrapper for [`fantasy-land/traverse`][].

`fantasy-land/traverse` implementations are provided for the following
built-in types: Array.
built-in types: Array and Object.

@@ -887,3 +887,3 @@ See also [`sequence`](#sequence).

<h4 name="sequence"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1680">sequence :: (Applicative f, Traversable t) => (TypeRep f, t (f a)) -> f (t a)</a></code></h4>
<h4 name="sequence"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1690">sequence :: (Applicative f, Traversable t) => (TypeRep f, t (f a)) -> f (t a)</a></code></h4>

@@ -902,3 +902,3 @@ Inverts the given `t (f a)` to produce an `f (t a)`.

<h4 name="extend"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1697">extend :: Extend w => (w a -> b, w a) -> w b</a></code></h4>
<h4 name="extend"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1707">extend :: Extend w => (w a -> b, w a) -> w b</a></code></h4>

@@ -915,3 +915,3 @@ Function wrapper for [`fantasy-land/extend`][].

<h4 name="extract"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1712">extract :: Comonad w => w a -> a</a></code></h4>
<h4 name="extract"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1722">extract :: Comonad w => w a -> a</a></code></h4>

@@ -925,3 +925,3 @@ Function wrapper for [`fantasy-land/extract`][].

<h4 name="contramap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.0.0/index.js#L1724">contramap :: Contravariant f => (b -> a, f a) -> f b</a></code></h4>
<h4 name="contramap"><code><a href="https://github.com/sanctuary-js/sanctuary-type-classes/blob/v5.1.0/index.js#L1734">contramap :: Contravariant f => (b -> a, f a) -> f b</a></code></h4>

@@ -928,0 +928,0 @@ Function wrapper for [`fantasy-land/contramap`][].

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc