simple-atom: Atom (or symbol) datatype for fast comparision and sorting.

[ bsd3, compilers-interpreters, data, library, parsing ] [ Propose Tags ] [ Report a vulnerability ]

This module provides an abstract datatype for atoms, such that:

  • Each atom string is only in memory once

  • O(n) creation time

  • O(1) equality-comparison

  • O(1) (in practice) ord-comparison

  • Ord-comparison results are independent on evaluation order

This module is thread-safe.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.1, 0.2
Dependencies base (>=3.0 && <4.7), containers (>=0.2 && <0.6) [details]
License BSD-3-Clause
Author Koen Claessen, Niklas Sorensson
Maintainer Thomas Schilling <nominolo@googlemail.com>
Category Data, Compilers/Interpreters, Parsing
Home page http://github.com/nominolo/simple-atom
Uploaded by ThomasSchilling at 2013-05-07T19:34:58Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1802 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]