/type-errors

:warning: tools for writing better type errors

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

type-errors

Haskell-CI Hackage

Dedication

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.

Jennifer Sodini

Overview

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.

Acknowledgments

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 IfStuck work for things of all kinds, and for helping me with the substitution machinery.