[GHC] #1007: Add parsing (and some more) to the time package
GHC
trac at galois.com
Thu Nov 23 18:49:17 EST 2006
#1007: Add parsing (and some more) to the time package
-------------------------------------+--------------------------------------
Reporter: bringert at cs.chalmers.se | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version:
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-------------------------------------+--------------------------------------
Comment (by arthurvl at cs.uu.nl):
Me like.
In more detail: yes, Eq and Ord instances for ZonedTime would be very
useful in calendaring applications, together with ranged sets.
Furthermore, the parsing really really really is helpful.
The printing 'enhancements' seem well argued, and imo should just go in.
I'm not so sure about the secondsToDiffTime and picosecondsToDiffTime
though. I like the idea of denoting difftimes with integral denotations.
The use of fromInteger might be documented better...
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1007>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list