I just discovered that I can use Unicode characters like \to
and \ne
instead of ->
and !=
. Is anyone using them in their daily coding? In official Julia packages?
itβs used quite a lot everywhere, even in Base
you already can do:
julia> 1 β [1,2,3]
true
julia> Set(1:2) βͺ Set(2:4)
Set{Int64} with 4 elements:
4
2
3
1
julia> Set(1:2) β© Set(2:4)
Set{Int64} with 1 element:
2
2 Likes
And even
julia> (1:2) βͺ (3:4)
4-element Array{Int64,1}:
1
2
3
4
2 Likes
I use \notin
quite a bit, find it to be more compact than !(a in b)
3 Likes