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

A library of higher-order functions modeled after Haskell's Data.List module

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-29.41%
Maintainers
1
Weekly downloads
 
Created
Source

[ l [ i [ s ] t ] s ] -- pending release

"If all you have is a hammer, everything looks like a nail"

Lists is a higher-order function utility library featuring over 50 recursive functions for working primarily with lists (arrays/strings) and collections (objects). The library was inspired directly from Haskell's Data.List module by the powerful people over at The University of Gasgow. You can view the original source here. You could then scroll through each function closely and see a purposefully similar correlation between the Haskell implementation and this implementation.

You'll take advantage of the endless combinations of function compositions that Lists offers you. Use the unorthodox style of passing functions to functions to functions to solve complex problems. Most of the functions featured in Lists produce new arrays, to reinforce the paradigm of stateless programming (the exception being the temporary functional stack that comes with recursive calculation), which means "retaining no information about previous events".

Lists is an open source project and is not meant to be paid for, ever. So now then, lets have some fun(fun(fun(fun)))

Note:

This module has not yet been relased

The beta release of this module will not implement tail call optimization on its functions, but the full release will.


api(here)

Keywords

FAQs

Package last updated on 19 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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