Skip to content

Instantly share code, notes, and snippets.

@fonsp
Created October 29, 2020 09:10
Show Gist options
  • Save fonsp/3ac9f7e0f5b8c45a0758e40b4e8a2181 to your computer and use it in GitHub Desktop.
Save fonsp/3ac9f7e0f5b8c45a0758e40b4e8a2181 to your computer and use it in GitHub Desktop.

Methods that I wish existed in Julia Base

🐿 push!(x::Set), push!(x::Vector), etc. with no second argument. This means that you can do push!(x, y...) even when y is empty.

🐿 round(x::AbstractRange, y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment