mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
fix #425
This commit is contained in:
parent
ec3343839f
commit
a36cee194b
@ -402,7 +402,7 @@ Set([1,2,3]...) #=> Set{Int64}(1,2,3) # this is equivalent to Set(1,2,3)
|
|||||||
|
|
||||||
x = (1,2,3) #=> (1,2,3)
|
x = (1,2,3) #=> (1,2,3)
|
||||||
Set(x) #=> Set{(Int64,Int64,Int64)}((1,2,3)) # a Set of Tuples
|
Set(x) #=> Set{(Int64,Int64,Int64)}((1,2,3)) # a Set of Tuples
|
||||||
Set(x...) #=> Set{Int64}(2,3,1)
|
Set(x...) #=> Set{Int64}(1,2,3)
|
||||||
|
|
||||||
|
|
||||||
# You can define functions with optional positional arguments
|
# You can define functions with optional positional arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user