Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9145479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:31:28+00:00 2026-06-17T10:31:28+00:00

Many common operations on collections in Julia such as deleting an item from a

  • 0

Many common operations on collections in Julia such as deleting an item from a Set were renamed recently, with the old functions deprecated.

For example,

del(IntSet(1,2,3), 1)

now pops up a warning

WARNING: del is deprecated, use delete! instead.

Some of the renamed functions:

@deprecate  push        push!
@deprecate  pop         pop!
@deprecate  grow        grow!
@deprecate  enqueue     unshift!
@deprecate  unshift     unshift!
@deprecate  shift       shift!
@deprecate  insert      insert!
@deprecate  del         delete!
@deprecate  del_all     empty!

Why were these renamed? Is appending a ! to functions that change the state of a collection now a convention?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:31:29+00:00Added an answer on June 17, 2026 at 10:31 am

    You can read the julia-dev thread here. Basically, it’s simply changing to respect the rule described in the arrays documentation:

    The last function, fill!, is different in that it modifies an existing
    array instead of constructing a new one. As a convention, functions
    with this property have names ending with an exclamation point. These
    functions are sometimes called “mutating” functions, or “in-place”
    functions.

    FWIW I think this is a good idea, at least for Base.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Many common filesystems do not offer atomic operations, yet writing files in an atomic
Sublime Text 2 comes with many built-in completions/templates for common idioms. In C++, these
I have 2 table t1 -> t2 (common one to many relationship) with 140.000
It's a common problem, solved many times, but for some reason i cannot find
It seems that the following is a common method given in many tutorials on
I was wondering if this common IDE feature is available. Suppose I open many
A common mistake when writing code that reads text from a stream in Java
I have a C++ class in which many of its the member functions have
I know my issue is very common and similar types has been asked many
From K&R C A.6.5 Arithmetic Conversions Many operators cause conversions and yield result types

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.