In designing a typed programming language with subtypes, you need
to decide when a function type A->B
is a subtype of a function type C->D
.
For example, I know that A <= B
to indicate that A is a subtype of B
When is it or is it possible A->B <= C->D
?
Any help explaining this would be much appreciated.