Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
Update state.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Mar 11, 2020
1 parent d3b2e28 commit 2a7d744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ a *ReversibleFunction* implementation. This version of *map* will produce a KVa

.. code-block:: kotlin
val counterDoubled = counter.map(object : ReversableFunction<Int, Int>("doubledCounter") {
val counterDoubled = counter.map(object : ReversibleFunction<Int, Int>("doubledCounter") {
override fun invoke(from: Int) = from * 2
override fun reverse(original: Int, change: Int) = change / 2
})
Expand Down

0 comments on commit 2a7d744

Please sign in to comment.