07.01.2014 Views

The Glorious Glasgow Haskell Compilation System User's Guide ...

The Glorious Glasgow Haskell Compilation System User's Guide ...

The Glorious Glasgow Haskell Compilation System User's Guide ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> <strong>Glorious</strong> <strong>Glasgow</strong> <strong>Haskell</strong><br />

<strong>Compilation</strong> <strong>System</strong> User’s <strong>Guide</strong>,<br />

Version 6.10.4<br />

xiv<br />

12 Known bugs and infelicities 213<br />

12.1 <strong>Haskell</strong> 98 vs. <strong>Glasgow</strong> <strong>Haskell</strong>: language non-compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213<br />

12.1.1 Divergence from <strong>Haskell</strong> 98 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213<br />

12.1.1.1 Lexical syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213<br />

12.1.1.2 Context-free syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213<br />

12.1.1.3 Expressions and patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

12.1.1.4 Declarations and bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

12.1.1.5 Module system and interface files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

12.1.1.6 Numbers, basic types, and built-in classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

12.1.1.7 In Prelude support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

12.1.2 GHC’s interpretation of undefined behaviour in <strong>Haskell</strong> 98 . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

12.1.3 Divergence from the FFI specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

12.2 Known bugs or infelicities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

12.2.1 Bugs in GHC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

12.2.2 Bugs in GHCi (the interactive GHC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216<br />

13 Index 217

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!