Re: [Haskell-cafe] Product-Categories

2013-07-04 Thread Adam Gundry
Hi, On 04/07/13 02:19, Lyndon Maydwell wrote: I'm wracking my brain trying to figure out a simple, reasonably general, implementation for a category instance for pairs of categories. So far I've looked at [1], which seems great, but doesn't use the built-in category instance, and [2], which

Re: [Haskell-cafe] Product-Categories

2013-07-04 Thread Lyndon Maydwell
Thanks a lot for that Adam. Glad to hear I wasn't too far off the right track :-) Regards, - Lyndon On Thu, Jul 4, 2013 at 5:34 PM, Adam Gundry adam.gun...@strath.ac.ukwrote: Hi, On 04/07/13 02:19, Lyndon Maydwell wrote: I'm wracking my brain trying to figure out a simple, reasonably

[Haskell-cafe] Product-Categories

2013-07-03 Thread Lyndon Maydwell
Hi Café. I'm wracking my brain trying to figure out a simple, reasonably general, implementation for a category instance for pairs of categories. So far I've looked at [1], which seems great, but doesn't use the built-in category instance, and [2], which I'm just not sure about. Ideally I'd