How do I enable language extensions from within GHCi?

22.3k Views Asked by At

I'm trying to enable XRankNTypes in GHCi. How do I do this?

1

There are 1 best solutions below

7
On BEST ANSWER

:set -XRankNTypes. The -X part is a compiler switch, by the way, extension is called just RankNTypes.