generic-records v0.5.0.0 Release Notes

Release Date: 2017-12-10 // over 6 years ago
    • Lenses and prisms are now type-changing.
    • More informative error messages
    • More readable type signatures in type errors and when using :t
    • ✅ Use doctest
    • Include examples in Haddock

    💥 Breaking API changes

    • The type parameters of the classes have been changed to accommodate the type-changing update:

    class HasField name a s -> class HasField name s t a b etc.

    Accordingly, field :: Lens' s a -> field :: Lens s t a b