From: pjb@... (Pascal J. Bourguignon) Date: 2009-01-15T03:59:10+09:00 Subject: Re: functional programming "David A. Black" writes: > On Wed, 14 Jan 2009, Pascal J. Bourguignon wrote: >>> But what would this be: >>> >>> f = lambda {} >>> def f; end >>> f() >> >> It's clear, f() calls the def f. >> You need and have another expression to call the lambda. >> >> And this is because there are two things that are designated by the identifier f here: > > Right -- that's my point :-) I thought that you were suggesting the > unification of calling a method and calling a function that's stored > in a variable. No such suggestion. It's just a classification. You have languages with a single name space for values and functions, and you have languages with distinct namespaces. Scheme is in the former. Ruby, emacs lisp, Common Lisp are in the later. -- __Pascal Bourguignon__