From dfef30981edc398c6b7cc1ecc5f71612ab0832e7 Mon Sep 17 00:00:00 2001 From: Luciano Ramalho Date: Thu, 8 Jul 2021 12:41:18 -0300 Subject: [PATCH] Update README.md --- 02-array-seq/lispy/README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/02-array-seq/lispy/README.md b/02-array-seq/lispy/README.md index 38458bb..9ac6f56 100644 --- a/02-array-seq/lispy/README.md +++ b/02-array-seq/lispy/README.md @@ -23,14 +23,4 @@ The copyright holder is Peter Norvig and the code is licensed under the [MIT license](https://github.com/norvig/pytudes/blob/60168bce8cdfacf57c92a5b2979f0b2e95367753/LICENSE). -## Changes to Norvig's code - -I made small changes to the programs in `original/`: - -* In `lis.py`: - * The `Procedure` class accepts a list of expressions as the `body`, and `__call__` evaluates those expressions in order, and returns the value of the last. This is consistent with Scheme's `lambda` syntax and provided a useful example for pattern matching. - * In the `elif` block for `'lambda'`, I added the `*` in front of the `*body` variable in the tuple unpacking to capture the expressions as a list, before calling the `Procedure` constructor. - -* In `lispy.py` I made [changes and a pull request](https://github.com/norvig/pytudes/pull/106) to make it run on Python 3. - _Luciano Ramalho
June 29, 2021_