Re: [Haskell] rigid variables

2006-07-20 Thread David Roundy
On Thu, Jul 20, 2006 at 10:48:02AM -0600, Rodney D Price wrote: > > I've gotten this sort of error several times, which mysteriously > disappears when I add more functions to the code: > > storeError.hs:13:38: > Couldn't match expected type `a' (a rigid variable) >against inferr

[Haskell] rigid variables

2006-07-20 Thread Rodney D Price
I've gotten this sort of error several times, which mysteriously disappears when I add more functions to the code: storeError.hs:13:38: Couldn't match expected type `a' (a rigid variable) against inferred type `String' `a' is bound by the type signature for `throwError'