Why is Python popular, while Lisp and Scheme aren't?

Johannes Grødem johs+n at ifi.uio.no
Mon Nov 11 05:18:55 EST 2002


* Carl Banks <imbosol at vt.edu>:

>> > (funcall '+ 1 1 1)
>> 3
>> > (funcall '* 2 3)
>> 6
> You mean (funcall #'+ 1 1 1) and (funcall #'* 2 3).

If you'd checked the spec, you would see that funcall takes a function
designator, not just a function, so his example is correct as well.

-- 
Johannes Grødem <OpenPGP: 5055654C>



More information about the Python-list mailing list