scalaz.zio
Ported from @mpilquist work in cats-effects (https://github.com/typelevel/cats-effect/pull/403)