sequential-index: Sequential numbers that allow arbitrarily inserting numbers - for containers
|Versions||0.0, 0.1, 0.2, 0.2.0.1|
|Dependencies||base (>=220.127.116.11 && <5), bytestring (>=0.9.1.5 && <0.10) [details]|
|Copyright||Copyright (C) 2011 Aristid Breitkreuz|
|Uploaded||by AristidBreitkreuz at Thu Mar 3 15:31:12 UTC 2011|
|Downloads||1441 total (13 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
Sequential index numbers between 0.0 and 1.0 that allow arbitrarily inserting new numbers in between. They can possibly used for disk-based and other special containers, where adding a new element without changing the indexes of the other elements is important.
Conceptually, SequentialIndex denotes a path to an element in an imaginary binary tree. However, leafs can only be on the right side of their parent. I.e. the path must end with a
1 (or be the path to the root node, 0.0). 1.0 denotes the invalid node.
[Skip to Readme]
For package maintainers and hackage trustees