forked from dylan-lang/opendylan
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dylan: Fix return value of push-last
According to the DRM, the push-last function is supposed to return the new value added to a deque rather than the deque. * sources/dylan/deque.dylan (trusted-push-last): Change to return the new element. (push-last): Change return signature to reflect returning the new element. * sources/dylan/tests/collections.dylan (test test-<deque>-functions): New test (inspired by cmu-test-suite) for testing <deque>-specific functions and methods. (suite dylan-collections-test-suite): Add test-<deque>-functions.
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 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
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