diff --git a/examples/echo/src/main/scala/com/example/TsoDocs.scala b/examples/echo/src/main/scala/com/example/TsoDocs.scala index 3567c22..050109f 100644 --- a/examples/echo/src/main/scala/com/example/TsoDocs.scala +++ b/examples/echo/src/main/scala/com/example/TsoDocs.scala @@ -4,9 +4,5 @@ import com.bilalfazlani.zioMaelstrom.* import zio.* object TsoExample { - val program: ZIO[MaelstromRuntime, AskError, Unit] = for - msgId1 <- Random.nextIntBounded(Int.MaxValue).map(MessageId(_)) - timestamp: Int <- LinTso.ts(5.seconds) - _ <- logInfo(s"timestamp is $timestamp") - yield () + val timestamp: ZIO[LinTso, AskError, Int] = LinTso.ts(5.seconds) }