You can write f(x::@?(Int), y::Int) = x+y
with tkf’s clever macro, from this earlier discussion:
4 Likes
You can write f(x::@?(Int), y::Int) = x+y
with tkf’s clever macro, from this earlier discussion: