-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
93 additions
and
62 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
//// | ||
//// PD5Bucket.swift | ||
//// HAMT | ||
//// | ||
//// Created by Henry on 2019/05/23. | ||
//// | ||
// | ||
// PD5Bucket.swift | ||
// HAMT | ||
//import Foundation | ||
// | ||
// Created by Henry on 2019/05/23. | ||
//protocol PD5BucketProtocol { | ||
// associatedtype Slot | ||
// associatedtype Pair | ||
// associatedtype SlotCollection: Sequence where SlotCollection.Element == Slot | ||
// var config: PD5BucketConfig { get } | ||
// /// Total count of all elements in this subtree. | ||
// var slots: SlotCollection { get } | ||
// var count: Int { get } | ||
// | ||
|
||
import Foundation | ||
|
||
protocol PD5BucketProtocol { | ||
associatedtype Slot | ||
associatedtype Pair | ||
associatedtype SlotCollection: Sequence where SlotCollection.Element == Slot | ||
var config: PD5BucketConfig { get } | ||
/// Total count of all elements in this subtree. | ||
var slots: SlotCollection { get } | ||
var count: Int { get } | ||
|
||
} | ||
//} |
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