amusing but very minor bug
Okasaki, C. DR EECS
Christopher.Okasaki at usma.edu
Thu May 23 13:46:21 EDT 2002
I've recently been playing with functions with ridiculously
high arities. When you get a type error, ghci conscientiously tries to
pinpoint where the error occurred.
Not only does it tell you the line number, it also tries to
give some structural clues such as
...
In the 13rd argument of `foo', namely `bar'
or
...
In the 12nd argument of `f', namely `g'
Of course, you see the problem with ordinals like 12nd and
13rd! Obviously, fixing this should not be high on
anyone's priority list. :-)
-- Chris
More information about the Glasgow-haskell-bugs
mailing list