@iftex
@finalout
@end iftex
-@comment $Id: scheme.texinfo,v 1.41 1993/12/06 20:37:56 cph Exp $
+@comment $Id: scheme.texinfo,v 1.42 1994/08/11 05:09:55 cph Exp $
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename scheme
@settitle MIT Scheme Reference
@ifinfo
This file documents the MIT Scheme system.
-Copyright @copyright{} 1988-93 Massachusetts Institute of Technology
+Copyright @copyright{} 1988-94 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and Computer
@titlepage
@title{MIT Scheme Reference Manual}
-@subtitle Edition 1.41 beta
+@subtitle Edition 1.42 beta
@subtitle for Scheme Release 7.3
-@subtitle 6 December 1993
+@subtitle 11 August 1994
@author by Chris Hanson
@author the MIT Scheme Team
@author and a cast of thousands
@page
@vskip 0pt plus 1filll
-Copyright @copyright{} 1988-93 Massachusetts Institute of Technology
+Copyright @copyright{} 1988-94 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and Computer
(fold-left list '() '(1 2 3 4)) @result{} ((((() 1) 2) 3) 4)
(define (length list)
- (fold-left 1+ 0 list))
+ (fold-left (lambda (sum element) (+ sum 1)) 0 list))
(define (reverse items)
(fold-left (lambda (x y) (cons y x)) () items))