Splits the environment into two parts, assembling one part using the specified layer and leaving the remainder R0.
Splits the environment into two parts, assembling one part using the specified layer and leaving the remainder R0.
val clockLayer: ZLayer[Any, Nothing, Clock] = ???
val managed: ZIO[Clock with Random, Nothing, Unit] = ???
val managed2 = managed.provideSome[Random](clockLayer)