How to enable language extensions from GHCi?

I am trying to enable XRankNTypes in GHCi. How to do it?

+78
haskell language-extension ghci
Sep 25 '12 at 14:15
source share
1 answer

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

+98
Sep 25
source share



All Articles