# 24-haskell-deriving This example shows intermediate Haskell deriving with stock and newtype strategies. It includes: - `deriving stock` for ordering, enumeration, and display, - `GeneralizedNewtypeDeriving` for numeric and semigroup behavior, - one release batch that merges and sorts targets through derived instances, and - a test suite run by `nix flake check`. Useful commands: ```bash nix develop cabal run cabal test nix build ./result/bin/mini-deriving nix run nix flake check ```