-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from hangpark/iss/28
[#28] Edit .gitignore and add text files
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ examples/ | |
*.swp | ||
*.o | ||
*.d | ||
!src/tests/**/*.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"Amazing Electronic Fact: If you scuffed your feet long enough without | ||
touching anything, you would build up so many electrons that your | ||
finger would explode! But this is nothing to worry about unless you | ||
have carpeting." --Dave Barry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
=== 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. |