purescript / purescript-prelude

The PureScript Prelude

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Show1 for unary type constructors

sedram opened this issue · comments

By analogy to Eq1. Haskell already has this in Data.Functor.Classes.

The question might be whether it matters if showArray is rewritten to use Show1.

I'd be happy to try making the pull request if this sounds reasonable.

I'm against this. I'd rather we implement the Debug class that Harry describes in this blog post: https://harry.garrood.me/blog/down-with-show-part-1/

Yeah, also I think this has had little enough interest that we can justify closing (at least for now).