Skip to content

Consider using the new public keyword #440

@GabrielKS

Description

@GabrielKS

Julia 1.11 adds a public keyword, which denotes that something is part of the public API even if it's not exported. This keyword isn't supported pre-1.11, but looks like there's a nice way to handle that with Compat.jl.

It seems like this could be particularly useful for InfrastructureSystems, where we don't like to export things much but ought to be defining a public interface. It could also define what gets included in the IS documentation pages, as opposed to the status quo, which seems to be "include everything with a docstring, whether intended for public consumption or not."

Thoughts on using this feature?

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