-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a polymorphic variant result type
This allows us to easily use the same result type from other libraries, without them being different types, needing different binds etc. Signed-off-by: David Scott <[email protected]>
- Loading branch information
David Scott
committed
Aug 18, 2014
1 parent
57df5ce
commit 58471e5
Showing
4 changed files
with
15 additions
and
13 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
v0.2 (unreleased) | ||
* add Mbr_partition: V1_LWT.BLOCK, for easy access to partitions via | ||
the standard Mirage block interface. | ||
|
||
* use a polymorphic variant result type [`Ok of 'a | `Error of 'b] |
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