Skip to content

Correct readme example code #1

@jcbhmr

Description

@jcbhmr

Right now it says:

import emptyStack from '@iter-tools/immutable-stack'; // OR
const emptyStack = require('@iter-tools/immutable-stack');

and

import { ImmutableStackFrame } from '@iter-tools/immutable-stack'; // OR
const ImmutableStackFrame = require('@iter-tools/immutable-stack').constructor;

When the https://www.npmjs.com/package/@iter-tools/immutable-stack package doesn't exist. Only https://www.npmjs.com/package/@iter-tools/imm-stack exists.

It'd probably be a good idea to update that... 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions