[Haskell-cafe] threadDelay delays less time than expected (Windows)

Bardur Arantsson spam at scientician.net
Sun Jan 1 10:37:57 UTC 2017


On 2017-01-01 10:42, Yitzchak Gale wrote:
> Bardur Arantsson wrote:
>> [1] Bascially before JodaTime made ordinary developers aware of just how
>> complex this Time/Date stuff really is and the importance of clearly
>> separating the concept of "calendar" time vs. "physical" time.
> 
> By "ordinary developers", you mean non-Haskell developers? Because the
> standard Haskell time library used Haskell's rich type system to model
> the semantics of time correctly long before JodaTime existed.

(Citation needed.)

E.g. is there any representation of a duration of physical time in the
Haskell library?

> Some people like JodaTime, but I would be very hesitant to use it until I
> see a proof that it at least comes close to the Haskell time library,
> and I am skeptical.

What problems do you see -- or are you just assuming?

(I mean there *are* a few problems with Joda-time, most of which have
been solved in java.time.* in JDK8.)

Regards,



More information about the Haskell-Cafe mailing list