In the documentation for Data.Time.Clock I see this:
Conversion functions will treat it as seconds. It has a precision of 10^-12 s
What function will turn that NominalDiffTime into a Double? No luck hoogling it
In the documentation for Data.Time.Clock I see this:
Conversion functions will treat it as seconds. It has a precision of 10^-12 s
What function will turn that NominalDiffTime into a Double? No luck hoogling it
Since time-1.9.1 you can use nominalDiffTimeToSeconds from Data.Time.Clock module:
nominalDiffTimeToSeconds :: NominalDiffTime -> Pico
Get the seconds in a NominalDiffTime.