Y
Hacker News
new
|
ask
|
show
|
jobs
by
peter-fogg
4629 days ago
But in a situation like that, you could just annotate the type. In Haskell:
add :: Int -> Int -> Int add a b = a + b