Changeset 36914 in project


Ignore:
Timestamp:
11/24/18 22:36:35 (2 weeks ago)
Author:
sjamaan
Message:

Don't mention continuations in a beginner's document :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/chicken-for-python-programmers

    r36913 r36914  
    159159</enscript>
    160160
    161 PS: in Scheme, the result of the evaluation of an {{if}} form is
    162 passed to its continuation.
     161PS: in Scheme, the result of the evaluation of an {{if}} form returns the value of the arm that was taken, just as in the shorthand if form of Python. You can see this by the fact that the interpreter prints back the string, which is the value of the entire expression.
    163162
    164163
     
    184183
    185184PS: in Scheme, the result of the evaluation of a {{cond}} form is
    186 passed to its continuation.
    187 
     185also the value of the expression in the arm that was taken.
    188186
    189187== Iteration
Note: See TracChangeset for help on using the changeset viewer.