DEEn Dictionary De - En
DeEs De - Es
DePt De - Pt
 Vocabulary trainer

Spec. subjects Grammar Abbreviations Random search Preferences
Search in Sprachauswahl
allocate
Search for:
Mini search box
 
Proverbs, aphorisms, quotations (English) by Linux fortune

===  ALL USERS PLEASE NOTE  ========================

CAR and CDR now return extra values.

The function CAR now returns two values.  Since it has to go to the trouble
to figure out if the object is carcdr-able anyway, we figured you might as
well get both halves at once.  For example, the following code shows how to
destructure a cons (SOME-CONS) into its two slots (THE-CAR and THE-CDR):

        (MULTIPLE-VALUE-BIND (THE-CAR THE-CDR) (CAR SOME-CONS) ...)

For symmetry with CAR, CDR returns a second value which is the CAR of the
object.  In a related change, the functions MAKE-ARRAY and CONS have been
fixed so they don't allocate any storage except on the stack.  This should
hopefully help people who don't like using the garbage collector because
it cold boots the machine so often.
Speaking as someone who has delved into the intricacies of PL/I, I am sure
that only Real Men could have written such a machine-hogging, cycle-grabbing,
all-encompassing monster.  Allocate an array and free the middle third?
Sure!  Why not?  Multiply a character string times a bit string and assign the
result to a float decimal?  Go ahead!  Free a controlled variable procedure
parameter and reallocate it before passing it back?  Overlay three different
types of variable on the same memory location?  Anything you say!  Write a
recursive macro?  Well, no, but Real Men use rescan.  How could a language
so obviously designed and written by Real Men not be intended for Real Man use?
No guarantee of accuracy or completeness!
©TU Chemnitz, 2006-2024
Your feedback:
Ad partners