Skip to content

User's Guide: "AllowAmbiguousTypes" and "RankNTypes" extensions incompatibility

Rinat Striungis requested to merge Haskell-mouse/ghc:fix-extensions-docs into master

Add the mention that extensions "AllowAmbiguousTypes" and "RankNTypes" are not compatible with each other and a small example.

Without this mention, one may try to use both extensions and get confusing ambiguity-related errors.

Edited by Ryan Scott

Merge request reports