Closed cbclemmer closed 11 months ago
I don't remember seeing this PR, I apologize. It looks good to me. Shall we reopen and merge it?
@ezrakilty No worries, I was just cleaning some stuff up today. I've updated the code from master and run the tests if you want to merge it.
Looks like the tests fail on version older than 7.6, because readMaybe
is not present in the Text.Read package at that point. I'm thinking of just ifdef'ing out the Read instance for those versions.
I am trying to add the URI instance to aeson like was mentioned aeson's #842, but the
URI
data type needs a read instance. It would be messier to create anewtype
from the URI in the aeson repo so I'm just making a PR here so that it will be cleaner for the PR in aeson.