Skip to content

Commit

Permalink
Make examples in design section compile (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh authored May 18, 2024
1 parent 1b40612 commit d7afe21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/docs/markdown/05-design/03-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Initially-encoded KVStore algebra :
```scala
sealed trait KVStoreOp[Output]
object KVStoreOp {
case class Put(key: String, value: String) extends KVStore[Unit]
case class Get(key: String) extends KVStore[Option[String]]
case class Delete(key: String) extends KVStore[Unit]
case class Put(key: String, value: String) extends KVStoreOp[Unit]
case class Get(key: String) extends KVStoreOp[Option[String]]
case class Delete(key: String) extends KVStoreOp[Unit]
}
```

Expand Down

0 comments on commit d7afe21

Please sign in to comment.