Re: [Haskell-cafe] morphisms in IO

2009-02-07 Thread Derek Elkins
On Thu, 2009-02-05 at 20:52 -0600, Gregg Reynolds wrote: > I'm working on a radically different way of looking at IO. Before I > post it and make a fool of myself, I'd appreciate a reality check on > the following points: > > a) Can IO be thought of as a category? I think the answer is yes. No

Re: [Haskell-cafe] morphisms in IO

2009-02-05 Thread Gregg Reynolds
On Thu, Feb 5, 2009 at 10:32 PM, Dan Weston wrote: > I truly have no idea what you are saying (and probably not even what I am > saying), but I suspect: > > a) You are calling IO the target category of applying the functor IO [taking > a to IO a and (a->b) to (IO a -> IO b)] to Hask. > > b) This c

Re: [Haskell-cafe] morphisms in IO

2009-02-05 Thread Miguel Mitrofanov
On 6 Feb 2009, at 05:52, Gregg Reynolds wrote: I'm working on a radically different way of looking at IO. Before I post it and make a fool of myself, I'd appreciate a reality check on the following points: a) Can IO be thought of as a category? I think the answer is yes. What couldn't? Ev

Re: [Haskell-cafe] morphisms in IO

2009-02-05 Thread Dan Weston
I truly have no idea what you are saying (and probably not even what I am saying), but I suspect: a) You are calling IO the target category of applying the functor IO [taking a to IO a and (a->b) to (IO a -> IO b)] to Hask. b) This category is hardly bereft, nor discrete. Its morphisms are IO

[Haskell-cafe] morphisms in IO

2009-02-05 Thread Gregg Reynolds
I'm working on a radically different way of looking at IO. Before I post it and make a fool of myself, I'd appreciate a reality check on the following points: a) Can IO be thought of as a category? I think the answer is yes. b) If it is a category, what are its morphisms? I think the answer