-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
designDesign of APIs or of the language itselfDesign of APIs or of the language itself
Description
PersistentDict and HAMT were added to Base by @vchuravy in #51164 as part of the implementation of ScopedValues. I didn't see any discussion of whether they should be part of the public API. These days Julia is mostly moving things out of Base rather than in, so I'm bringing it up here.
What are the benefits and costs of putting these API in Base rather than
- using them privately without exporting, and/or
- having the types in a package that can be modified separately from Base?
#53980 reports PersistentDict's now-documented examples are using Base.delete which isn't a public function.
Metadata
Metadata
Assignees
Labels
designDesign of APIs or of the language itselfDesign of APIs or of the language itself