Hacker News new | ask | show | jobs
by tgb 2508 days ago
The same problem happens with immutable types. Does a function of type Int -> A extend a function type Int -> B? How about A -> Int extending B -> Int? The answers to these are opposite.