ReadOnlyArrays.jl icon indicating copy to clipboard operation
ReadOnlyArrays.jl copied to clipboard

`ReadOnlySet` and `ReadOnlyDict`?

Open wmanning-cra opened this issue 4 years ago • 1 comments

Would it be out-of-scope to add similar wrappers for AbstractDictionary and AbstractSet? There is a built-in Base.ImmutableDict, but my understanding is that it's a very particular structure with particular use-cases, not meant to be seamlessly dropped in place of a Dict.

The downside is that it would make the name of this package a bit awkward.

wmanning-cra avatar Jan 31 '22 18:01 wmanning-cra

I am OK to add them (in general - as commented earlier - I am even OK to transfer the repo and rename it as you like). Renaming is not problematic as old links will still work.

bkamins avatar Jan 31 '22 19:01 bkamins