-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Fix contract.Sequence reversing order (#1510)
* Fix contract.Sequence reversing order This commit started by fixing tests that didn't fire, because they involved contracts but were never executed. On of those tests failed after being fixed, indicating that `std.contract.Sequence` wasn't preserving the order of applied contracts. This commit fixes this issue as well by using `fold_left` instead of `fold_right` in the implementation of `Sequence`. * Formatting (stdlib)
- Loading branch information
Showing
2 changed files
with
15 additions
and
6 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