Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change type of
extraCoinSource
from Maybe Coin
to Coin
.
The following values of `extraCoinSource` are treated identically by the coin selection algorithm: - Nothing - Just (Coin 0) Therefore, using the type `Maybe Coin` doesn't really make sense here. If a caller wants to encode the lack of an extra coin source, they can just supply `Coin 0`.
- Loading branch information
1 parent
f40d178
commit 6ca7bb1
Showing
5 changed files
with
39 additions
and
35 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
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
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