[Haskell-cafe] GHC Extension Proposal: ArgumentBlock

Silvio Frischknecht silvio.frischi at gmail.com
Tue Sep 8 21:17:17 UTC 2015


You mean this?

languageExtensions Nothing
    -- Nothing => the default case
    = Opt_NondecreasingIndentation -- This has been on by default for
some time
    : delete Opt_DatatypeContexts  -- The Haskell' committee decided to
                                   -- remove datatype contexts from the
                                   -- language:
   --
http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html
      (languageExtensions (Just Haskell2010))

So default is
haskell2010+NondecreasingIndentation-DatatypeContexts

But the standard library can not be made to adhere to haskell98/2010.
I.e. Monad is now a subclass of Applicative.

Silvio


More information about the Haskell-Cafe mailing list