dlist
dlist copied to clipboard
Difference lists in Haskell
This warning can be fixed in a backwards-compatible way by adding `TypeOperators` to `default-extensions:` in the `.cabal` file. ``` Building library for dlist-1.0.. [1 of 5] Compiling Data.DList.Internal ( Data/DList/Internal.hs,...
The usual assumption for pure data structures in Haskell is that the documented time bounds may be amortized, but that amortization must hold up under persistent use. That is not...
Notifying so authors can check that `DList` is represented properly. & so authors are able, if needed, to give commentary: https://github.com/haskell-perf/sequences/pull/23
https://hackage.haskell.org/package/dlist-1.0 lists a module `Data.DList.Unsafe`, but I cannot click it to access its documentation.
Figure out why the GitHub Actions are failing. In particular, look at the [7.10 job](https://github.com/spl/dlist/runs/3470146381?check_suite_focus=true).
* The `bench` job needs to be faster, and it seems like installing dependencies is what slows it down. * See [Dead simple cross-platform GitHub Actions for Haskell](https://kodimensional.dev/github-actions).
* Add CPP guards around some instances * Remove some conditional cabal * Use NonEmpty-based fold functions directly * Add tests for fold instance * Add handwritten Read instance *...
IMPORTANT: Branch is based on os/fix-read-after-show-test, so please merge https://github.com/spl/dlist/pull/117 **before** this. * Create a single list of quickcheck properties * Test the result of the quickcehck run * Exit...
``` tests/DListProperties.hs:70:31: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use...