GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update README.md · FerMatPy/example-code-2e@dfef309

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • 02-array-seq/lispy
    • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎02-array-seq/lispy/README.md‎

Copy file name to clipboardExpand all lines: 02-array-seq/lispy/README.md
-10Lines changed: 0 additions & 10 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,4 @@ The copyright holder is Peter Norvig and the code is licensed under the
2323
[MIT license](https://github.com/norvig/pytudes/blob/60168bce8cdfacf57c92a5b2979f0b2e95367753/LICENSE).
2424

2525

26-
## Changes to Norvig's code
27-
28-
I made small changes to the programs in `original/`:
29-
30-
* In `lis.py`:
31-
* 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.
32-
* 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.
33-
34-
* In `lispy.py` I made [changes and a pull request](https://github.com/norvig/pytudes/pull/106) to make it run on Python 3.
35-
3626
_Luciano Ramalho<br/>June 29, 2021_

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.