-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
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
Documented instances of NominalDiffTime missing #33
Comments
You'll get those instances by explicitly importing
Yes, please do. Because the result of PS: to avoid ambiguous types for literals, use |
I'm realizing the correct thing to do is use One reason I prefer |
Ah, so you're scaling a time difference. Yes, use |
Please add this to the docs. Just lost 1.5 hours of my life. :) |
@jasonzoladz At the top of Data.Thyme.Clock, it says:
I'll try to make it more obvious. |
In particular,
NominalDiffTime
is missning (at least)Fractional
andNum
instances:The hackage docs say
NominalDiffTime
hasFractional
andNum
instance.I'm running this on Ubuntu 14.04, and I've tried it on MacOSX Yosemite and seen the same results.
I plan to work around this with
fromSeconds
andtoSeconds
for now.The text was updated successfully, but these errors were encountered: