[Haskell-cafe] GHC Extension Proposal: ArgumentBlock

Michael Orlitzky michael at orlitzky.com
Tue Sep 8 17:41:24 UTC 2015


On 09/08/2015 12:48 PM, Manuel Gómez wrote:
> 
> §7.3.3. Negative literals: The literal `-123` is, according to
> Haskell98 and Haskell 2010, desugared as `negate (fromInteger 123)`.
> The language extension `-XNegativeLiterals` means that it is instead
> desugared as `fromInteger (-123)`.
> 

Totally off-topic, but this is cute =)





More information about the Haskell-Cafe mailing list