85 ms·
fp-ts has this same unfortunate issue (https://gcanti.github.io/fp-ts/guides/purescript.html#data https://gcanti.github.io/fp-ts/guides/purescript.html#data) wh
by toastal 3y ago
fp-ts has this same unfortunate issue (https://gcanti.github.io/fp-ts/guides/purescript.html#data https://gcanti.github.io/fp-ts/guides/purescript.html#data) where a PureScript one-liner becomes 11 lines of boilerplate TypeScript. Or (https://gcanti.github.io/fp-ts/guides/purescript.html#pattern-matching https://gcanti.github.io/fp-ts/guides/purescript.html#patter...) 3 lines of pattern matching becomes 10 where the matching is done on strings (ad-hoc _tag property).