How do I enable language extensions from within GHCi?
:set -XRankNTypes
. The -X
part is a compiler switch, by the way, extension is called just RankNTypes
.
:set -XRankNTypes
. The -X
part is a compiler switch, by the way, extension is called just RankNTypes
.