On Tue, Apr 24, 2012 at 02:14, J. Garrett Morris <[email protected]>wrote:

> On Mon, Apr 23, 2012 at 11:10 PM, Yitzchak Gale <[email protected]> wrote:
> > This is true; the use of polymorphism for numeric literals is also
> > unsound.
>
> By this logic, head is "unsound", since head [] throws an error.
>

Oddly enough, it's actually widely recognized that non-total functions like
`head` pose problems.  it still remains that string (or indeed numeric)
literals are not expected to cause runtime exceptions.

-- 
brandon s allbery                                      [email protected]
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to