Re:WTFJS?
by Locke1689 on Saturday February 13, 2010 @03:53AM
(#1122766)
[ Parent
| on HN ]
Or:
ghci> 0.1 + 0.2 == (0.3 :: Ratio Int)
True
Same type, less syntax.
Re:WTFJS?
by regularfry on Saturday February 13, 2010 @06:59AM
(#1122933)
That's cheating. Haskell isn't a language, it's The Word of Simon.
The question of which Simon is left as an exercise to the reader.