RE: [Haskell] Deferred instance declarations (serialization of existential boxes)

2006-11-10 Thread Simon Peyton-Jones
| -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | On Behalf Of Misha Aizatulin | Sent: 27 September 2006 21:08 | To: GHC Users Mailing List | Subject: Re: [Haskell] Deferred instance declarations (serialization of existential boxes) | | Simon Peyton-Jones wrote: | Concerning

Re: [Haskell] Deferred instance declarations (serialization of existential boxes)

2006-09-27 Thread Misha Aizatulin
Simon Peyton-Jones wrote: Concerning your application | I am having a box like | data Box = forall a. Cxt a = Box a | and want to write a Read instances for it. I don’t see how it helps to defer the Read instance. I would defer the instance declaration till the point where I know