on-internet
← Community

When is a 'rigid type variable' not rigid?

Stack Overflow ·

Definitions of 'rigid' tyvar have varied a bit over time. The critical requirement is the tyvar appears in a user-supplied signature: Instead of “user-specified type”, we use the briefer term rigid type to describe a type that is completely specified, in some direct fashion, by a programmer-supplied type annotation. [from 2005 'Simple unification-based type inference for GADTs' §3] ... every programmer-written type signature (including one that contains free scoped type variables) denotes a rigid type; that is, the type is fully known to the type checker, and no inference is involved. Then con

Comments

Sign in or sign up to comment and upvote.

No comments yet.