-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Consider this:
TypeSchema(lambda x, y, z: F(x, x) ** z[F(x, A)]).apply(F(A, A))
... does not yield F(A, A)
TypeSchema(lambda x, y, z: F(x, x) ** z[F(x, x)]).apply(F(A, A))
does yield F(A, A).
The logic for unifying with constraints doesn't make full sense. Why would it be okay to unify with base types, but not with variables?
Also, we should make sure that the following works:
TypeSchema(lambda x, y, z: F(x, y) ** z[F(x, A), F(y, A)]).apply(F(A, A))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels