[Haskell-beginners] AMQP and nested exception handlers

Alex alex323 at gmail.com
Tue May 12 15:46:54 UTC 2015


On Tue, 12 May 2015 08:32:08 +0000
Alexey Shmalko <rasen.dubi at gmail.com> wrote:

> Seems you lack the proper instance of NFData for Foo
> 
> instance NFData Foo where
>     rnf f = foo f `deepseq` ()
> 
> With this change, keeping either line produces outer exception.
> 

Ah, as it turns out I was using deepseq 1.3, but the Generics support
wasn't available until 1.4. Upgrading to 1.4 solves the issue. Thank
you for your help!

-- 
Alex


More information about the Beginners mailing list