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.
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.