https://github.com/purescript/purescript-lists
Linked Lists
https://github.com/purescript/purescript-lists
Last synced: about 1 month ago
JSON representation
Linked Lists
- Host: GitHub
- URL: https://github.com/purescript/purescript-lists
- Owner: purescript
- License: bsd-3-clause
- Created: 2014-07-02T01:04:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T13:47:31.000Z (almost 2 years ago)
- Last Synced: 2025-10-02T00:30:34.306Z (about 2 months ago)
- Language: PureScript
- Homepage:
- Size: 449 KB
- Stars: 59
- Watchers: 10
- Forks: 50
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-purescript - lists - Linked lists. (Data types)
README
# purescript-lists
[](https://github.com/purescript/purescript-lists/releases)
[](https://github.com/purescript/purescript-lists/actions?query=workflow%3ACI+branch%3Amaster)
[](https://pursuit.purescript.org/packages/purescript-lists)
This library defines strict and lazy linked lists, and associated helper functions and type class instances.
_Note_: This module is an improvement over `Data.Array` when working with immutable lists of data in a purely-functional setting, but does not have good random-access performance.
## Installation
```
spago install lists
```
## Licensing
Some of this code is derived from GHC's standard libraries (`base`);
according to its terms, we have included GHC's license in the file
`LICENSE-GHC.md`.
## Documentation
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-lists).