[Haskell-cafe] Database.postgreSQL.Simple - ambigious type

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Mon Aug 19 00:07:28 CEST 2013

On Sun, Aug 18, 2013 at 10:16:06PM +0200, Hartmut Pfarr wrote:
> I played a bit with your suggestion, and it is running now :-)
> But instead of  IO [Int]  I think we need  IO [Only Int]   because
> of the 1-element-tupel problem?

Yes you're right.  I had forgotten that postgresql-simple dealt with
single-column tables with "Only".  Well done for getting it working!


More information about the Haskell-Cafe mailing list