documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Type classes: Omit explicit instance name

Open gasi opened this issue 3 years ago • 2 comments

The compiler change to make instance names optional was introduced in v0.14.2: https://github.com/purescript/purescript/releases/tag/v0.14.2

gasi avatar Feb 14 '22 14:02 gasi

Yea, these instances are preserved across core / contrib until 0.15 because it’s a breaking change to remove them (it means losing support for 0.14.0 and 0.14.1). I think it’d be preferable to mention they’re optional.

I believe there’s another docs page where we talk about instance names being used for readable JavaScript that we could crib from?

thomashoneyman avatar Feb 14 '22 15:02 thomashoneyman

This hasn't been merged because feedback hasn't been addressed. It wouldn't take much to finish it.

JordanMartinez avatar Dec 18 '22 15:12 JordanMartinez