Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I list enabled language extensions from within GHCI?

Tags:

haskell

ghci

I know that I am able to set language extensions with

:set  -XWhateverExtension

but how do I list the extensions that are currently enabled?

like image 898
jbweston Avatar asked Dec 10 '25 12:12

jbweston


1 Answers

> :show language
base language is: Haskell2010
with the following modifiers:
  -XNoDatatypeContexts
  -XExplicitForAll
  -XNondecreasingIndentation
  -XPatternSignatures
  -XScopedTypeVariables
like image 166
chi Avatar answered Dec 12 '25 08:12

chi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!