Full threadit·Isn't this just because withMyResource returns IO a rather than IO ()? It doesn't seem reasonable for it to return the resource.View on HN