Adding example using scalaz Reader type