[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Left to right, or parallel, evaluation of arguments to function?
- To: Rem@MIT-MC.ARPA
- Subject: Left to right, or parallel, evaluation of arguments to function?
- From: "Scott E. Fahlman" <Fahlman@CMU-CS-C.ARPA>
- Date: Sat, 24 Nov 1984 03:24:00 -0000
- Cc: COMMON-LISP@SU-AI.ARPA
- In-reply-to: Msg of 23 Nov 1984 17:41-EST from Rem at IMSSS
- Sender: FAHLMAN@CMU-CS-C.ARPA
Evaluation of arguments is definitely intended to be left-to-right. The
only argument is about whether the manual actually comes out and says
this (I think it does) or whether it just hints at this. In the latter
case, the omission is just an oversight.
It is not a goal of Common Lisp to be a good language for dataflow or
other statement-level parallel architectures. There's no clear
consensus on what the right set of features for a dataflow language
would be, but Common Lisp, even if we loosened up the rules on argument
evaluation, would not be the right thing. It seems silly to include
some feature just because it makes Common Lisp slightly less bad at
doing something it is not intended to do anyway, so we went with Lisp
tradition in requiring left-to-right evaluation.