[Haskell-cafe] Trouble finding exception source

Denis Bueno dbueno at gmail.com
Wed Feb 27 13:16:41 EST 2008


On Wed, Feb 27, 2008 at 12:06 AM,  <gwern0 at gmail.com> wrote:
>  Fortuitously, I recently came across a bunch of bioinformatics software in Haskell. One of the libraries was called 'interlude', and it claims to be able to give line locations for errors in the Prelude. I was intending to upload them all as a group once I'd finished, but you might be able to make use of it here.
>
>  You can find it here: <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/interlude-0.1.1>.
>
>  If it does work out for you, be sure to let me know. I haven't run across any Prelude errors in my code since I installed it, so I haven't really tried it out.

Although I had to change my source code a bit (changing calls to e.g.
`any' and `all' to have a Foldable prefix), this did work.  My error
message now is:

    dsat: Prelude.maximum: empty list

which tells me where my bug is.  Thanks!

-- 
                              Denis


More information about the Haskell-Cafe mailing list