DEV Community

Discussion on: What the heck is polymorphism?

 
jvanbruegge profile image
Jan van Brügge

No, as you can see the forall is in the parenthesis, the scope does not go until the return type

Thread Thread
 
drbearhands profile image
DrBearhands

herp derp, realized it myself just now, ∀x(P(x))->Q ≠ ∀x(P(x)->Q).

So this would require an an ad-hoc polymorphic function as argument, yes?

Thread Thread
 
jvanbruegge profile image
Jan van Brügge

Correct 👍