Infer variance for recursive algebraic data types

Issue #21 closed
Alex Knauth created an issue

Right now, define-type can only infer the variance for non-recursive data types. That means that for instance the X in (List X) is treated as invariant, even though it could safely be marked as covariant.

Comments (2)

  1. Log in to comment