Changelog of @hackage/discrimination 0.1

0.1

  • grouping is now productive. This means it can start spitting out results as it goes! To do this I created the promises package and switched to using it behind the scenes for many combinators that consume a Group. This has a bunch of knock-on effects:
    • grouping is now working properly with respect to its law!
    • grouping now uses an American-flag style top-down radix sort rather than a bottom up radix sort for all operations. This is sadly required for productivity. This will use a lot more memory for intermediate arrays, as we don't get to return them to storage after we're done.
    • We now use much smaller intermediate arrays for grouping. Should we do the same for sorting?

0

  • Initialized repository