p 217, lambda and proc
Reported by Rick DeNatale | December 22nd, 2007 @ 04:13 PM | in Second Edition
The statement is made that the difference between lambda and proc is the that the latter doesn't check the arity of block parameters.
This is not true. Blocks created with either lambda or proc will not complain if they are called with more arguments than they require (even if the number of required arguments is zero), and they will complain if they are called with insufficient arguments. In fact lambda and proc have been aliases for each other for some time.
Also lambda is misspelled as lamda in the last code example on the page.
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
