25 lines
412 B
Markdown
Raw Normal View History

# 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:
```bash
nix develop
cabal run
cabal run -- 3
cabal test
nix build
./result/bin/mini-seq-queues 3
nix run . -- 3
nix flake check
```