On Wed, Jul 31, 2013 at 01:22:42PM +0600, Alexey Uimanov wrote: > I also have the idea do not throw the exceptions in IO but return (Either > SqlError a) from all the Connection and Statement methods for safe data > processing. What do you think about ?
I feel very strongly that you should use Either. One of the things I find worst about postgres-simple is the exceptions it throws. The benefit of Haskell is that we can do things in a Haskelly way! Tom _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe