我知道我可以使用

:set  -XWhateverExtension

但是如何列出当前启用的扩展?

最佳答案

> :show language
base language is: Haskell2010
with the following modifiers:
  -XNoDatatypeContexts
  -XExplicitForAll
  -XNondecreasingIndentation
  -XPatternSignatures
  -XScopedTypeVariables

10-07 14:18