| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TypeLevelShow.Doc
Documentation
Simple pretty document ADT.
Designed to work on both type level (as a limited ErrorMessage) and term
level (as a boring ADT).
Note that ShowType is magical (see
compilerGHCCore/Type.hs#L1309), so we need to remove it for term level.
singletons-base defines a version of this, but retains the ShowType
constructor and is in the singletons ecosystem.