on master help sign in
Merge pull request #2892 from thisfred/tutorial-record-typo

Fix typo in nested record update.

commit23c2788e509346b7c26b3c44718436e9f9dec219 authorEdwin Brady <edwin.brady@gmail.com> dateWed 20 Jan 2016, 16:12 (11 years ago) parent3499e110c54260
1 file changed+1−1
docs/tutorial/typesfuns.rst+1−1
docs/tutorial/typesfuns.rst+1−1
@@ -997,7 +997,7 @@ syntax:
997997 record { a->b->c = val } x
998998
999999This returns a new record, with the field accessed by the path
1000−``a->b->c`` set to ``x``. The syntax is first class, i.e. ``record {
1000+``a->b->c`` set to ``val``. The syntax is first class, i.e. ``record {
10011001a->b->c = val }`` itself has a function type. Symmetrically, the field
10021002can also be accessed with the following syntax:
10031003