[nhc-bugs] EnumFromThen

hanatani at mbg.nifty.com hanatani at mbg.nifty.com
Sat Apr 8 03:29:09 EDT 2006


Hello,

I found a bug in nhc98-1.18.

$ diff src/prelude/Prelude/Enum_Integer.hs src/prelude/Prelude/Enum_Integer.hs
~
14c14
<   enumFromThen x y = x : enumFromThen y (2*y-x)
---
>   enumFromThen x y = x : enumFromThen y (2*y+x)

-- 
Yoichi Hanatani



More information about the Nhc-bugs mailing list