412 B
412 B
44-haskell-seq-queues
This example shows FIFO retry batching with Data.Sequence.
It includes:
- one queue of retry requests backed by
Seq, - functions that append retries and take the next batch in order, and
- a test suite run by
nix flake check.
Useful commands:
nix develop
cabal run
cabal run -- 3
cabal test
nix build
./result/bin/mini-seq-queues 3
nix run . -- 3
nix flake check