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

Use newer keyword arg syntax #1823

Merged
merged 1 commit into from
Jan 17, 2022
Merged

Use newer keyword arg syntax #1823

merged 1 commit into from
Jan 17, 2022

Conversation

rikhuijzer
Copy link
Collaborator

@rikhuijzer rikhuijzer commented Jan 15, 2022

Since Pluto's lower bound for Julia is now 1.5, the newer keyword argument syntax can be used (https://github.com/JuliaLang/julia/blob/v1.5.0/NEWS.md). I've ran comby with '(:[a]; :[b], :[c]=:[c])' '(:[a]; :[b], :[c])' and some variations of this pattern to replace keyword arguments such as x=x by x.

@github-actions
Copy link
Contributor

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/rikhuijzer/Pluto.jl", rev="kwarg-syntax")
julia> using Pluto

@fonsp
Copy link
Owner

fonsp commented Jan 17, 2022

Awesome! I like it

@fonsp fonsp merged commit 404bfce into fonsp:main Jan 17, 2022
@rikhuijzer rikhuijzer deleted the kwarg-syntax branch January 17, 2022 13:56
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.

None yet

2 participants