Skip to content

Add new convenience packages. #28

@make-github-pseudonymous-again

Description

  • js-persistent-array (can be derived from seq).
  • js-persistent-object (can be derived from ordseq).
  • js-persistent-set (can be derived from ordseq, but not really, because we do not have access to object addresses, or hash...).
  • js-persistent-map (can be derived from ordseq, but not really, because we do not have access to object addresses, or hash...).

Would probably be good to have Object cast all their keys to strings. For Set and Map, we should only accept immutables as keys: primitives like Numbers, Strings, Dates, RegEx, BigInts, and other Persistent Data Structures.

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