top | item 23795782

(no title)

nulptr | 5 years ago

because "ssdf" is a string but B("asd") is user-defined sum type.

So in the original example, you can't unify "ssdf" and the int 33, but in the re-written version B("sfd") and A(33) have the same type and can be unified.

discuss

order

No comments yet.