Mr_Dojo0
Mr_Dojo0
MModular
Created by Mr_Dojo0 on 9/24/2023 in #questions
Why is overloading a function with different types not possible:
fn sum(num1: Int, num2: Int) -> int: return num1 + num2 fn sum(num1: Float, num2: Float) -> Float: return num1 + num2
4 replies