Create a synchronous ZIO from a function, returning a IO that can't fail.
factory ZIO(A Function() f) => ZIO.from((ctx) => Either.right(f()));