Skip to content

Design: Separate functional and mutable structures #2

@sirherrbatka

Description

@sirherrbatka

We need to have some distinction between functional nad mutable variants of structures. I propose to add mixin types: functional-structure and mutable-structure. Implementations should inherit those and offer part of the functionality depending on the type. For instance, mutable-hash-table should offer only insert! method, while functional-hash-table should offer only insert method.

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