Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lists

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lists - npm Package Compare versions

Comparing version 0.1.91 to 0.1.92

2

package.json
{
"name": "lists",
"version": "0.1.91",
"version": "0.1.92",
"description": "A library of higher-order functions modeled after Haskell's Data.List module",

@@ -5,0 +5,0 @@ "main": "lists.js",

@@ -163,3 +163,3 @@ # [ l [ i [ s ] t ] s ]

* [`intersect`](#intersect) : [num|str]|str -> [num|str]|str -> [x]
* [`sort`](#sort) : [x] -> [x]
* [`sort`](#sort) : [x]|str -> [x]
* [`insert`](#insert) : x -> [x] -> [x]

@@ -171,9 +171,9 @@

* [`nubBy`](#nubBy) : [x] -> f -> [x]
* [`deleteBy`](#deleteBy) : x -> [x] -> f -> [x]
* [`deleteFirstsBy`](#deleteFirstsBy) : [x] -> [x] -> f -> [x]
* [`nubBy`](#nubBy) : [x]|str -> f -> [x]
* [`deleteBy`](#deleteBy) : x -> [x]|str -> f -> [x]
* [`deleteFirstsBy`](#deleteFirstsBy) : [x]|str -> [x]|str -> f -> [x]
* [`unionBy`](#unionBy) : [x] -> [x] -> f -> [x]
* [`intersectBy`](#intersectBy) : [x] -> [x] -> f -> [x]
* [`groupBy`](#groupBy) : [x] -> f -> [[x]]
* [`sortBy`](#sortBy) : [x] -> f -> [x]
* [`intersectBy`](#intersectBy) : [x]|str -> [x]|str -> f -> [x]
* [`groupBy`](#groupBy) : [x]|str -> f -> [[x]]
* [`sortBy`](#sortBy) : [x]|str -> f -> [x]
* insertBy : (a -> a -> Ordering) -> a -> [a] -> [a]

@@ -1319,3 +1319,3 @@ * maximumBy : (a -> a -> Ordering) -> [a] -> a

<a name='sort'/>
### sort : [x] -> [x]
### sort : [x]|str -> [x]
------

@@ -1349,7 +1349,7 @@ **Description**: Return an Array of Variables that are sorted by the Ordering Function lists.compare.

<a name='nubBy'/>
### nubBy : [x] -> f -> [x]
### nubBy : [x]|str -> f -> [x]
------
**Description**: Remove duplicates from an Array of Variables based on a user supplied Function defintion of equality. Keep the first occurence of each element.
**Description**: Remove duplicates from an Array of Variables or a String based on a user supplied Function defintion of equality. Keep the first occurence of each element.
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 a Function. Get an Array of Variables.
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 a Function. Get an Array of Variables.

@@ -1369,5 +1369,5 @@ **Example Usage**:

<a name='deleteBy'/>
### deleteBy : x -> [x] -> f -> [x]
### deleteBy : x -> [x]|str -> f -> [x]
------
**Description**: Return an Array of Variables from the result of removing the first occurence of a Variable that matches a user supplied Function definition of equality from an Array of Variables.
**Description**: Return an Array of Variables from the result of removing the first occurence of a Variable or a String that matches a user supplied Function definition of equality from an Array of Variables.

@@ -1384,7 +1384,7 @@ **Signature Definition**: Give arg 1 a Variable. Give arg 2 an Array of Variables. Give arg 3 a Fucntion. Get an Array of Variables.

<a name='deleteFirstsBy'/>
### deleteFirstsBy : [x] -> [x] -> f -> [x]
### deleteFirstsBy : [x]|str -> [x]|str -> f -> [x]
------
**Description**: Return the first Array of Variables passed with the first occurence of each element from the second Array of Variables removed based on a user supplied Function definition of equality.
**Description**: Return the first Array of Variables or String passed with the first occurence of each element from the second Array of Variables or String removed based on a user supplied Function definition of equality.
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 an Array of Variables. Give arg 3 a Fucntion. Get an Array of Variables.
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 an Array of Variables or a String. Give arg 3 a Fucntion. Get an Array of Variables.

@@ -1416,7 +1416,7 @@ **Example Usage**:

<a name='intersectBy'/>
### intersectBy : [x] -> [x] -> f -> [x]
### intersectBy : [x]|str -> [x]|str -> f -> [x]
------
**Description**: Return an Array of Variables as the intersection between Argument 1, Argument 2, and the user supplied Function definition of equality.
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 an Array of Variables. Give arg 3 a Fucntion. Get an Array of Variables.
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 an Array of Variables or a String. Give arg 3 a Fucntion. Get an Array of Variables.

@@ -1430,7 +1430,7 @@ **Example Usage**:

<a name='groupBy'/>
### groupBy : [x] -> f -> [[x]]
### groupBy : [x]|str -> f -> [[x]]
------
**Description**: Return an Array of Variables where each nested Array is a group of equal elements. Equality is defined by the user supplied Function.
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 a Fucntion. Get an Array of an Array of Variables.
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 a Fucntion. Get an Array of an Array of Variables.

@@ -1445,7 +1445,7 @@ **Example Usage**:

<a name='sortBy'/>
### sortBy : [x] -> f -> [x]
### sortBy : [x]|str -> f -> [x]
------
**Description**: Return an Array of Variables that are sorted based on the user supplied Ordering Function.
**Signature Definition**: Give arg 1 an Array of Variables. Give arg 2 a Fucntion. Get an Array of Variables.
**Signature Definition**: Give arg 1 an Array of Variables or a String. Give arg 2 a Function. Get an Array of Variables.

@@ -1452,0 +1452,0 @@ **Example Usage**:

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc