如何从 GHCI 中列出启用的语言扩展?
How do I list enabled language extensions from within GHCI?
我知道我可以设置语言扩展
:set -XWhateverExtension
但是我如何列出当前启用的扩展程序?
> :show language
base language is: Haskell2010
with the following modifiers:
-XNoDatatypeContexts
-XExplicitForAll
-XNondecreasingIndentation
-XPatternSignatures
-XScopedTypeVariables
我知道我可以设置语言扩展
:set -XWhateverExtension
但是我如何列出当前启用的扩展程序?
> :show language
base language is: Haskell2010
with the following modifiers:
-XNoDatatypeContexts
-XExplicitForAll
-XNondecreasingIndentation
-XPatternSignatures
-XScopedTypeVariables