Re:The Haskell / Snap ecosystem is as productive (or more) t...
by mightybyte on Friday April 27, 2012 @12:00PM
(#3899664)
It's essentially the same thing as doing:
Numeric literals are automatically treated as Num instances, so when you subtract (length []) which is an Int, the literal is treated as an Int. In this case, it triggers an overflow condition, something that programmers understand well and have been dealing with from the earliest days.
[ Parent
| on HN ]
There are no comments on this comment yet.