Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Why does delete!() work with sets, but not deleteat!()

$
0
0

If I had the following set:

numbers = Set([1,2,3,4,5])

and I do:

 delete!(3)

It will remove the number 3 from the Set, but when I use deleteat!(3) it throws an error, why?

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles