Dear list, list comprehensions and SQL-like generalized comprehensions can be used to write queries in Haskell. Does anyone know of any work focused on optimizing such queries? A quick google didn't show up anything meaningful. Janek