
6 May
2007
6 May
'07
1:59 p.m.
Brandon S. Allbery KF8NH wrote:
OOC, is there a reason why you can't just write "5%10"?
Prelude> :t 5%10
<interactive>:1:1: Not in scope: `%' Prelude> :m +Data.Ratio Prelude Data.Ratio> :t 5%10 5%10 :: (Integral t) => Ratio t Prelude Data.Ratio>
I'm actually a bit surprised that's not in Prelude.
Likewise... Oh, by the way, thanks for the extra syntax. It's really annoying having to locate Notepad.exe on the start menu, type "import Blah", save it as "Thing.hs", open Windoze Explorer, locate Thing.hs, and then double-click it just so that I can try stuff out in GHCi...