Focus: Tools for focusing in on locations within numbers

[ data, library, mit ] [ Propose Tags ]

Focuses are lists of numbers where longer lists are treated as focuses on their parent lists. As such, `Focus []` is considered "unfocused" (it is EQ to all focuses), `Focus [1, 1]` is EQ to `Focus [1, 1, 3]` because their roots are equal, and so on. This isn't useful for testing true equality, but it is quite useful for traversing and pruning indexed rose trees from one locus to another.

Versions [faq] 0.1, 0.1.1, 0.1.2
Dependencies base (==4.*), MissingH (>=1.0), split (>=0.1) [details]
License MIT
Author Nate Soares
Maintainer nate@natesoares.com
Category Data
Source repo head: git clone git://github.com/Soares/Focus.hs.git
Uploaded by NateSoares at Sat Dec 24 23:55:44 UTC 2011
Distributions NixOS:0.1.2
Downloads 1956 total (65 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees