|
From: | . |
Subject: | Re: Nested Lambda function gives error in common lisp, guile, emacs lisp but works in scheme. Why? |
Date: | 08 Oct 2007 01:14:28 GMT |
User-agent: | pan 0.120 (Plate of Shrimp) |
On Sun, 07 Oct 2007 23:27:20 +0000, David Rush wrote: > Makes it sound like there are two fundamentally different *types* of > values And FUNCALL and FUNCTION are the type cast operators between > those types. Is this a valid way of looking at this? > > david rush An expression needs a symbol as it's car. If the symbol has a function-value, that function is called. If you want to call a function that isn't bound to a symbol, you use FUNCALL. In pseudo-scheme is might be defined is (lambda (f args) (f args)). FUNCTION is the accessor for the function-value of a symbol.
[Prev in Thread] | Current Thread | [Next in Thread] |