phobos-next 0.3.2

Various reusable D code.


To use this package, run the following command in your project's root directory:

phobos-next

Various reusable D code.

Most definitions are probably generic enough to be part of Phobos.

See_Also: http://forum.dlang.org/post/tppptevxiygafzpicmgz@forum.dlang.org

Includes

Containers

  • trie.d: Trie for prefix completion.
  • dynamic_array.d: Basic uncopyable array with value semantics and explicit copying via .dup.
  • bitarray.d: Bit array.
  • open_hashmap_or_hashset.d: Combined hashset and hashmap with open addressing and support for deletion via hole handling. Pointers and classes are stored as is with support for vacancy and hole handling. Vacancy support for std.typecons.Nullable.
  • cyclic_array.d: Cyclic array.
  • filterarray.d: Filter array.
  • fixed_array.d: Fixed-sized statically allocated (heap) array similar to C++ std::array.
  • fixed_dynamic_array.d: Fixed-sized heap-allocated array.
  • bitarray.d: A dynamically-sized (heap) bit array.
  • static_bitarray.d: A statically-size (stack) bit array.
  • minimal_fixed_array.d: Minimalistic statically-sized (stack) array of length smaller than 255 fitting in an ubyte for compact packing.
  • ...

For reference semantics wrap uncopyable containers in std.typecons.RefCounter.

Wrapper types

  • bound.d: A wrapper for bounded types.
  • notnull.d: Enhanced NotNull.
  • digest_ex.d: A structured wrapper for message digests.
  • ...

Algorithms

  • integer_sorting.d: Integer sorting algorithms, including radix sort.
  • horspool.d: Boyer-Moore-Hoorspool search.
  • ...

Utilities

  • dbg.d: Debug printing.
  • symbolic.d: Symbol regex (structured regular expressions similar to elisps rx).
  • ngram.d: An n-gram implementation (many nested for loops).
  • csunits.d: Computer Science units.
  • ...

Extensions

  • Various extension to Phobos (often ending with _ex.d)
  • ...
Authors:
  • Per Nordlöw <per.nordlow@gmail.com>
Dependencies:
none
Versions:
0.3.2 2020-Feb-23
0.3.1 2020-Feb-23
0.3.0 2020-Feb-21
0.2.0 2017-Sep-04
0.1.0 2016-Apr-10
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 298 downloads total

Score:
1.7
Short URL:
phobos-next.dub.pm