Releases: garyb/purescript-codec
Releases · garyb/purescript-codec
v6.1.0
v6.0.0
Simplified a lot of things in the library.
- Removed
GCodec
entirely and inlines theReader
/Star
/Writer
aspects of the previous version. - Removed some instances that I'm not convinced were correct.
- Removed
mapCodec
for now at least. It was just one of many possible mapping patterns that aren't handled by the instances, and now it's much easier to construct codecs directly it didn't seem worth promoting this one particular case since it can be defined fairly trivially as needed. BasicCodec
has becomeCodec'
ala optics, routing-duplex. Correspondingly,basicCodec
constructor function is nowcodec'
- Added a
codec
constructor for creatingCodec a b c c
s, which seems to be very common.
v5.0.0
Updated for PureScript 0.15 (@thomashoneyman)
v4.0.1
v4.0.0
Updated for PureScript 0.14 (@thomashoneyman)