Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing julia-repl in destructuring docs #56866

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArnoStrouwen
Copy link
Contributor

No description provided.

Copy link
Member

@LilithHafner LilithHafner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is am improvement and mergible as is. To make it even better, it would be ideal to change this and the block above it to jldoctest.

@LilithHafner LilithHafner added the docs This change adds or pertains to documentation label Dec 18, 2024
Copy link
Member

@inkydragon inkydragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output also needs to be updated.

```jldoctest
julia> map(((x, y),) -> x + y, [(1, 2), (3, 4)])
2-element Vector{Int64}:
 3
 7
```

@LilithHafner
Copy link
Member

haha, yes. That is why use use jldoctest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants