On Tue, Jan 26, 2010 at 11:55 AM, Felipe Lessa <felipe.le...@gmail.com>wrote:

> On Tue, Jan 26, 2010 at 11:52:34AM -0600, Jeremy Shaw wrote:
> > +  toConstr _     = error "toConstr"
> > +  gunfold _ _    = error "gunfold"
>
> Isn't it better to write
>
>  error "Data.Text.Text: toConstr"
>
> Usually I try to do this as we don't get stack traces for _|_.
>
>
I think so... none of the other instances do.. but I guess that is not a
very good excuse :)

- jeremy
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to