Comparing version 0.1.92 to 0.1.93
{ | ||
"name": "lists", | ||
"version": "0.1.92", | ||
"version": "0.1.93", | ||
"description": "A library of higher-order functions modeled after Haskell's Data.List module", | ||
@@ -5,0 +5,0 @@ "main": "lists.js", |
@@ -55,8 +55,8 @@ # [ l [ i [ s ] t ] s ] | ||
* [`map`](#map) : [x] -> f -> [x] | ||
* [`rev`](#rev) : [x] -> [x] | ||
* [`intersperse`](#intersperse) : x -> [x] -> [x]|str | ||
* [`map`](#map) : [x]|str -> f -> [x] | ||
* [`rev`](#rev) : [x]|str -> [x] | ||
* [`intersperse`](#intersperse) : x -> [x]|str -> [x]|str | ||
* [`intercalate`](#intercalate) : [x] -> [[x]] -> [x] | ||
* [`transpose`](#transpose) : [[x]] -> [[x]] | ||
* [`subsequences`](#subsequences) : [x] -> [[x]] | ||
* [`subsequences`](#subsequences) : [x]|str -> [[x]] | ||
* [`permutations`](#permutations) : [x]|str -> [[x]]|[str] | ||
@@ -111,4 +111,4 @@ | ||
* [`group`](#group) : [num]|str -> [[num]]|[[str]] | ||
* [`inits`](#inits) : [x] -> [[x]] | ||
* [`tails`](#tails) : [x] -> [[x]] | ||
* [`inits`](#inits) : [x]|str -> [[x]] | ||
* [`tails`](#tails) : [x]|str -> [[x]] | ||
@@ -131,5 +131,5 @@ ----- | ||
* [`lookup`](#lookup) : num|str -> [[num|str,x]] -> boolean | ||
* [`find`](#find) : [x] -> f -> x | ||
* [`filter`](#filter) : [x] -> f -> [x] | ||
* [`partition`](#partition) : [x] -> f -> [[x],[x]] | ||
* [`find`](#find) : [x]|str -> f -> x | ||
* [`filter`](#filter) : [x]|str -> f -> [x] | ||
* [`partition`](#partition) : [x]|str -> f -> [[x],[x]] | ||
@@ -143,4 +143,4 @@ ----- | ||
* [`elemIndices`](#elemIndices) : num|str -> [num]|str -> [num] | ||
* [`findIndex`](#findIndex) : [x] -> f -> num | ||
* [`findIndices`](#findIndices) : [x] -> f -> [num] | ||
* [`findIndex`](#findIndex) : [x]|str -> f -> num | ||
* [`findIndices`](#findIndices) : [x]|str -> f -> [num] | ||
@@ -296,3 +296,3 @@ ----- | ||
<a name='map'/> | ||
### map : [x] -> f -> [x] | ||
### map : [x]|str -> f -> [x] | ||
------ | ||
@@ -314,3 +314,3 @@ **Description**: Array of Variables returned by applying f to each element of [x]. | ||
<a name='rev'/> | ||
### rev : [x] -> [x] | ||
### rev : [x]|str -> [x] | ||
------ | ||
@@ -330,7 +330,7 @@ **Description**: Array of Variables returned by reversing the order of each element. | ||
<a name='intersperse'/> | ||
### intersperse : x -> [x] -> [x]|str | ||
### intersperse : x -> [x]|str -> [x]|str | ||
------ | ||
**Description**: Array of Variables or a String returned by interspersing a given separator between elements of a given Array. | ||
**Signature Definition**: Give arg 1 a Variable. Give arg 2 an Array of Variables. Get an Array of Variables or a String. | ||
**Signature Definition**: Give arg 1 a Variable. Give arg 2 an Array of Variables or a String. Get an Array of Variables or a String. | ||
@@ -376,7 +376,7 @@ **Example Usage**: | ||
<a name='subsequences'/> | ||
### subsequences : [x] -> [[x]] | ||
### subsequences : [x]|str -> [[x]] | ||
------ | ||
**Description**: Array of an Array of Variables of all subsequences of a given arguement. | ||
**Signature Definition**: Give arg 1 an Array of Variables. Get an Array of an Array of Variables. | ||
**Signature Definition**: Give arg 1 an Array of Variables or a String. Get an Array of an Array of Variables. | ||
@@ -894,7 +894,7 @@ **Example Usage**: | ||
<a name='inits'/> | ||
### inits : [x] -> [[x]] | ||
### inits : [x]|str -> [[x]] | ||
------ | ||
**Description**: An Array of an Array of Variables returned with all the initial segments of the argument, shortest first. | ||
**Signature Definition**: Give arg 1 an Array of Variables. Get an Array of an Array of Variables. | ||
**Signature Definition**: Give arg 1 an Array of Variables or a String. Get an Array of an Array of Variables. | ||
@@ -910,7 +910,7 @@ **Example Usage**: | ||
<a name='tails'/> | ||
### tails : [x] -> [[x]] | ||
### tails : [x]|str -> [[x]] | ||
------ | ||
**Description**: An Array of an Array of Variables returned with all the initial segments of the argument, longest first. | ||
**Signature Definition**: Give arg 1 an Array of Variables. Get an Array of an Array of Variables. | ||
**Signature Definition**: Give arg 1 an Array of Variables or a String. Get an Array of an Array of Variables. | ||
@@ -1029,3 +1029,3 @@ **Example Usage**: | ||
<a name='find'/> | ||
### find : [x] -> f -> x | ||
### find : [x]|str -> f -> x | ||
------ | ||
@@ -1045,3 +1045,3 @@ **Description**: Retreive a Variable by applying a predicate Function to an Array of Variables. Returns "Nothing" if there is no match. | ||
<a name='filter'/> | ||
### filter : [x] -> f -> [x] | ||
### filter : [x]|str -> f -> [x] | ||
------ | ||
@@ -1061,7 +1061,7 @@ **Description**: An Array of Variables returned by applying a predicate Function to an Array of Variables. | ||
<a name='partition'/> | ||
### partition : [x] -> f -> [[x],[x]] | ||
### partition : [x]|str -> f -> [[x],[x]] | ||
------ | ||
**Description**: An Array of two Arrays of Variables returned by applying a predicate Function to an Array of Variables. The Array of Variables at position 0 are the Variables that satisfy the predicate Function. The Array of Variables at position 1 are the Variables that do not satisfy the predicate Function. | ||
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 a Function. Get an Array of two Arrays of Variables. | ||
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 a Function. Get an Array of two Arrays of Variables. | ||
@@ -1122,7 +1122,7 @@ **Example Usage**: | ||
<a name='findIndex'/> | ||
### findIndex : [x] -> f -> num | ||
### findIndex : [x]|str -> f -> num | ||
------ | ||
**Description**: Returns the index Number of the first occurance of the result of applying a predicate Function to an Array of Variables. | ||
**Description**: Returns the index Number of the first occurance of the result of applying a predicate Function to an Array of Variables or a String. | ||
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 a Function. Get a Number. | ||
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 a Function. Get a Number. | ||
@@ -1138,7 +1138,7 @@ **Example Usage**: | ||
<a name='findIndices'/> | ||
### findIndices : [x] -> f -> [num] | ||
### findIndices : [x]|str -> f -> [num] | ||
------ | ||
**Description**: Returns an Array of Numbers representing the indices of the result of applying a predicate Function to an Array of Variables. | ||
**Description**: Returns an Array of Numbers representing the indices of the result of applying a predicate Function to an Array of Variables or a String. | ||
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 a Function. Get an Array of Numbers. | ||
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 a Function. Get an Array of Numbers. | ||
@@ -1145,0 +1145,0 @@ **Example Usage**: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67935