Created
October 22, 2017 18:17
-
-
Save carlcortright/8b1ab73a22c3528bf1cad61e5ed7b633 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# == defined for different arguments | |
function ==(a::Int, b::String) | |
isequal(string(a), b) | |
end | |
function ==(a::String, b::Int) | |
isequal(Int(a), b) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment