We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This breaks tools like pretty-show as they can't parse the output.
It would be great if, for example, Day produced output like Day 2016 12 31 so that these tools work properly.
Day
Day 2016 12 31
Even if we quote the current output and include the constructor name it would be much better:
Day "2016-12-31" and DiffTime "1234s"
Day "2016-12-31"
DiffTime "1234s"
The text was updated successfully, but these errors were encountered:
@jystic Came here to raise this issue myself. I'd really like to see Thyme fixed so that it has a QuickCheck property like:
prop_read_show :: Day -> Property prop_read_show day = read (show day) === day
With that I can write QC properties like that for my own data types which embed a Day type.
Sorry, something went wrong.
No branches or pull requests
This breaks tools like pretty-show as they can't parse the output.
It would be great if, for example,
Day
produced output likeDay 2016 12 31
so that these tools work properly.Even if we quote the current output and include the constructor name it would be much better:
Day "2016-12-31"
andDiffTime "1234s"
The text was updated successfully, but these errors were encountered: