Comment on Write a program that makes 2 + 2 = 5parentComments−orangecat12yOr more directly: julia> +(a::Int, b::Int) = if a==b==2 5 else a-(-b) end julia> 2+2 5 julia> 3+1 4 (The else part can't use + or it will cause infinite recursion).
Comments
Or more directly:
(The else part can't use + or it will cause infinite recursion).