Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tutorial on Mutability and Imperative Programming (#1529)
* Tutorial on Mutability and Imperative Programming Mutable Data: references, records and arrays/bytes Imperative Exceptions Howto mix styles without getting into trouble Refunctionalization techniques * Remove french sentence * Discussion with Sabine * Intro, refs and mutable fields * Text on arrays and bytes * Add text on for and while loops * Text on encapsulated mutability * Update text * Add tail recursion text * Add CPS text * More CPS text * More CPS text, cont'd * More CPS text * More CPS text * Effects order * foo * Add text on global state * Remove stuff migrated to PR1770 * Add text on memoization * dummy * Add Anti-Patterns * editing * rename * Review * Rename if+loops+recursion into if+recursion * Minor changes * Use #show_type * Minor fixes * Include some feedback from @silene See discuss thread: https://discuss.ocaml.org/t/draft-tutorial-on-mutability-loops-and-imperative-programming/13504/2 Only easy items, more to come * Revert change creating conflict with PR1798 * Line editing & code check * Review edits * Address more review comments * Fix typos * minor grammar * fix typo * add "body expression" * tighten syntax * minor typo fixes * Update 0it_06_imperative.md * Review edits --------- Co-authored-by: Cuihtlauac ALVARADO <[email protected]> Co-authored-by: Sabine Schmaltz <[email protected]> Co-authored-by: Christine Rose <[email protected]>
- Loading branch information