<div dir="ltr">Hello,<div><br></div><div>I am working on a small GHC extension to support floating point literals in hexadecimal notation (<a href="https://github.com/ghc-proposals/ghc-proposals/pull/37">https://github.com/ghc-proposals/ghc-proposals/pull/37</a>), which is similar to what's available in other languages.</div><div><br></div><div>To support this change, I would like to propose that we modify the `<font face="monospace, monospace">Read</font>` instances for `<font face="monospace, monospace">Float</font>` and `<font face="monospace, monospace">Double</font>` to parse literals in the new notation.</div><div><br></div><div>This may affect existing programs---although it doesn't seem very likely.  Here is an example:</div><div><br></div><div>current behavior:</div><div><br></div><div><font face="monospace, monospace">reads "0x10p10" = [(16.0,"p10")]</font></div><div><br></div><div>new behavior:</div><div><br></div><div><font face="monospace, monospace">reads "0x10p10" = [(16384,"")]</font></div><div><br></div><div><br></div><div>What do people think?</div><div><br></div><div>-Iavor</div><div><br></div><div><br></div></div>