[Haskell-cafe] Re: could we get a Data instance for Data.Text.Text?

Felipe Lessa felipe.lessa at gmail.com
Tue Jan 26 12:55:22 EST 2010


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 _|_.

--
Felipe.


More information about the Haskell-Cafe mailing list