Changeset 8726 in project


Ignore:
Timestamp:
02/23/08 22:36:46 (12 years ago)
Author:
sjamaan
Message:

Use print instead of (lambda (x) (display x) (newline))

File:
1 edited

Legend:

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

    r8723 r8726  
    424424  (define x '(1 2 3))
    425425  (map x (lambda (x) (+ x 10)))
    426   (for-each (lambda (x) (display x) (newline)) x)
     426  (for-each print x)
    427427
    428428Note that Scheme does not have the block scoping bug.  Another thing
Note: See TracChangeset for help on using the changeset viewer.