Skip to content

Fix build for newer versions of time#4

Open
Daniel-Diaz wants to merge 2 commits intodeviant-logic:masterfrom
plow-technologies:master
Open

Fix build for newer versions of time#4
Daniel-Diaz wants to merge 2 commits intodeviant-logic:masterfrom
plow-technologies:master

Conversation

@Daniel-Diaz
Copy link
Copy Markdown

This simple patch makes aeson-filthy compatible with newer versions of time, where parseTimeM requires MonadFail, due to changes in the base library. First doesn't have a MonadFail instance, so I used Maybe's instead. The same code should work for older versions of time too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant