辞書や配列から要素を消す
参考: Collections and Data Structures · The Julia Language 辞書の場合は delete! を使う。 a = Dict(:first => 1, :second => 2, :third => 3) # delete!: 辞書と削除したいキーを指定する delete!(a, :second) a # Dict(:first => 1, :third => 3) 配列には deleteat! を使用する。 b = [1, 2, 3] # deleteat!: 配列と削除したいインデックスを指定する deleteat!(b, 2) b # [1, 3]