CornellCAC / purescript-datacite

Types and JSON utilities for DataCite (https://datacite.org/)
Mozilla Public License 2.0
0 stars 0 forks source link

Convert to reading Option type for improved flexibility #1

Open bbarker opened 4 years ago

bbarker commented 4 years ago

See here. Additionally, or alternatively, it might be good to have a Writer to better log errors and report to the user.

bbarker commented 4 years ago

Probably the best way to achieve this is to have something like (untested):

Simple.JSON.E (Writer MultipleErrors (Option.Record ResourceRows))