Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed Jul 25, 2019
1 parent d3a5629 commit bfbb4ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ Changing Immutable Variables
echo bob # (name: "Bob", age: 42) Original Immutable
echo olderBob # (name: "Bo", age: 45) Changed Immutable
Its inspired by Scala:

.. code-block:: scala
val immutableButChanged = immutable.copy(attribute = 9)
Description
-----------
Expand Down

0 comments on commit bfbb4ca

Please sign in to comment.