]> Repositorios git - classgraph.git/commit
Render type-level lists as [a, b, c] not (: a (: b []))
authorJavier Sagredo <[email protected]>
Wed, 6 May 2026 22:06:25 +0000 (00:06 +0200)
committerJavier Sagredo <[email protected]>
Wed, 6 May 2026 22:06:25 +0000 (00:06 +0200)
commitc418c452624345d8c774c2f0525bd50843d7c212
tree858aa40230f36cc8ae94a6f3e21aeb995cf87b6c
parent0bea00aad508aa862533ba2a4a8ab18bc3e5d02a
Render type-level lists as [a, b, c] not (: a (: b []))

renderArg now special-cases GHC's promoted cons (`:`) / nil (`[]`)
TyCons and the unapplied list TyCon, unfolding nested cons chains
into Haskell list syntax. Demo gets a Bagful + BagList exhibit so
the path is exercised.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
data/viewer.js
examples/demo/src/Demo/MoreFamilies.hs