How do I enable language extensions from within GHCi?
HaskellGhciLanguage ExtensionHaskell Problem Overview
I'm trying to enable XRankNTypes
in GHCi. How do I do this?
Haskell Solutions
Solution 1 - Haskell
:set -XRankNTypes
. The -X
part is a compiler switch, by the way, extension is called just RankNTypes
.