Thank you very much. I've never seen such beautiful database code before. I think it's here where the power of monads really shines; they keep all the statefullness of the database from cluttering up the rest of the code. I will stick with the JVM because of legacy integration. Although I must say, the more I use Haskell, the cleaner my code in other languages gets. Haskell is almost like poetry in this regard.