functional-data-structure / persistent-stack

:icecream: Persistent stack data structures for JavaScript

Home Page:https://functional-data-structure.github.io/persistent-stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍦 @functional-data-structure/persistent-stack

Persistent stack data structures for JavaScript. See docs.

⚠️ The code requires regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {empty, from, isEmpty, push, pop, peek, iter} from '@functional-data-structure/persistent-stack';
let stack = from('abc');
let values = [...iter(stack)].join(''); // cba
...

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

About

:icecream: Persistent stack data structures for JavaScript

https://functional-data-structure.github.io/persistent-stack

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 89.5%Language:Shell 10.5%