Ambiguous type variable error during Stackage LTS migration
Goal Upgrade a small Haskell application from GHC 9.6 to GHC 9.8, targeting a specific Stackage LTS snapshot, while avoiding downtime during the build and deployment cycle. Constraints and Uncertainty Ambiguous type variable warnings may surface when the code uses custom type families or newtype wrappers not fully resolved by the snapshot. Reproducible build