[Haskell-cafe] Re: Debugging partial functions by the rules

Justin Bailey jgbailey at gmail.com
Wed Nov 15 11:31:12 EST 2006

On 11/15/06, Donald Bruce Stewart <dons at cse.unsw.edu.au> wrote:
> Yes, these techniques are fairly well known now, and hopefully some of
> the more experienced Haskellers are using them (I certainly use the
> non-empty list tricks). Any anyone with more than 6 months Haskell knows
> to avoid fromJust.
> The problem I see is that head/fromJust errors are usually caused by
> *beginner* Haskellers, who don't know the techniques for statically
> avoiding them.

I'm one of those "beginning" Haskellers (about one month in) and I'd like to
know these techniques. Are they written up anywhere?


p.s. apologies for the double-email Donald - forget to CC the list on the
first one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20061115/3eef84fe/attachment.htm

More information about the Haskell-Cafe mailing list