How do I enable language extensions from within GHCi?

后端 未结 1 606
后悔当初
后悔当初 2020-12-23 08:29

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

相关标签:
1条回答
  • 2020-12-23 09:18

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

    0 讨论(0)
提交回复
热议问题