This module provides compatibility instances and wrappers for the
thyme does differently from
time, and allows it to be
used as a drop-in replacement for the latter, with the exceptions noted
- When constructing an
mkModJulianDatein place of
- Instead of pattern matching on
unUTCTimeto get a
UTCView, which has a constructor
UTCTimewith the same fields. For
ViewPatternsmay make the transition more seamless.
- Where a third party library uses
time, you can use
fromThymeto convert between the corresponding types.
Integers: you may need
You shouldn't need to use
vector-space directly if you don't
want to. However if you do use
vector-space and wish to avoid the
RealFrac instances for
Anything else is probably not intentional, and you should either contact me via IRC or file an issue at https://github.com/liyang/thyme/issues.