-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed List so that it complains if it has more than two arguments. Also changed the error type to 'ErrorNoReturn' when the arguments are 0 or greater than 2. Added some additional tests to test the error messages in these cases, and to test some of the other documented features of List, that is, it works for lists with holes, and it returns a mutable list.
- Loading branch information
1 parent
eecad70
commit 814a0f6
Showing
2 changed files
with
10 additions
and
2 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