Time Library
Ashley Yakeley
ashley at semantic.org
Tue Mar 21 00:34:42 EST 2006
In article
<fa0147d90603191115w9695aa4ve3ee68c227582883 at mail.gmail.com>,
Taral <taralx at gmail.com> wrote:
> On 3/19/06, Ashley Yakeley <ashley at semantic.org>
> wrote:
> > 1. Adding my Data.Fixed module to the base package.
> > <http://semantic.org/TimeLib/doc/html/Data-Fixed.html>
> > <http://darcs.haskell.org/packages/time/fixed/Data/Fixed.hs>
>
> When would you used a (Fixed a) without (HasResolution a)?
Never as far as I can imagine. The 'a' parameter will be taken by a
phantom type.
<http://haskell.org/haskellwiki/Phantom_type>
The two I have, E6 and E12, represent 10^6 and 10^12, but you could use
some other number, such as a power of 2.
--
Ashley Yakeley, Seattle WA
WWED? http://www.cs.utexas.edu/users/EWD/
More information about the Haskell-prime
mailing list