Skip to content

Conversation

hellemo
Copy link

@hellemo hellemo commented Oct 20, 2023

Make example in docstring return a NamedTuple.

I was very confused and did not get my defaults to work until I noticed that defaults(::Type{T}) where {T} returns a NamedTuple.

Give example with `NamedTuple`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant