Tools for writing better type errors
|LTS Haskell 20.15:||0.2.0.1|
|Stackage Nightly 2023-03-24:||0.2.0.1|
|Latest on Hackage:||0.2.0.1|
Maintained by firstname.lastname@example.org
This version can be pinned in stack with:
Module documentation for 0.2.0.1
Depends on 5 packages(full list with versions):
Used by 1 package in nightly-2023-02-03(full list with versions):
View the gradients of adversity as the colors that paint your story, and the power of experience as what makes you a great teacher, creator, philosopher, entrepreneur, artist, and human. Everything works out eventually.
type-errors is a collection of tools for writing better, more ergonomic, type
errors. Some of the more interesting features are the ability to observe
stuckedness and phantomness, as well as perform substitutions over types.
For more information, check out the haddock documentation.
This project wouldn’t be possible without the help of two amazing people:
- kcsongor who came up with the original technology behind this library.
- Lysxia for articulating the approach to making
IfStuckwork for things of all kinds, and for helping me with the substitution machinery.
Changelog for type-errors
- Bumped version bounds
Substtype families were broken in the presence of stuckness. This rendered them almost entirely unusable — so they now have a new implementation in terms of
te, a TemplateHaskell splice, which will perform symbolic substitutions over types. See haddock for the migration details.