Guest User

Untitled

a guest
Oct 23rd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # == defined for different arguments
  2.  
  3. function ==(a::Int, b::String)
  4. isequal(string(a), b)
  5. end
  6.  
  7. function ==(a::String, b::Int)
  8. isequal(Int(a), b)
  9. end
Add Comment
Please, Sign In to add comment