summaryrefslogtreecommitdiffstats
path: root/tests/vm/sample.txt
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
committermanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
commit4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch)
tree868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /tests/vm/sample.txt
parenteae0bd57f0a26314a94785061888d193d186944a (diff)
downloadprogos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip
reorganize file structure to match the upstream requirements
Diffstat (limited to 'tests/vm/sample.txt')
-rw-r--r--tests/vm/sample.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/vm/sample.txt b/tests/vm/sample.txt
new file mode 100644
index 0000000..c446830
--- /dev/null
+++ b/tests/vm/sample.txt
@@ -0,0 +1,17 @@
1=== ALL USERS PLEASE NOTE ========================
2
3CAR and CDR now return extra values.
4
5The function CAR now returns two values. Since it has to go to the
6trouble to figure out if the object is carcdr-able anyway, we figured
7you might as well get both halves at once. For example, the following
8code shows how to destructure a cons (SOME-CONS) into its two slots
9(THE-CAR and THE-CDR):
10
11 (MULTIPLE-VALUE-BIND (THE-CAR THE-CDR) (CAR SOME-CONS) ...)
12
13For symmetry with CAR, CDR returns a second value which is the CAR of
14the object. In a related change, the functions MAKE-ARRAY and CONS
15have been fixed so they don't allocate any storage except on the
16stack. This should hopefully help people who don't like using the
17garbage collector because it cold boots the machine so often.