tomland icon indicating copy to clipboard operation
tomland copied to clipboard

Implement 'Selective' instance for 'Codec'

Open chshersh opened this issue 5 years ago • 0 comments
trafficstars

tomland users may want to support parsing that depends on version. Since we don't have Monad instance anymore, it's not possible easily. But the selective package has a function bindS that allows having this case ... of behavior for Enum fields (which is how I expect versions to be implemented).

chshersh avatar May 27 '20 10:05 chshersh