[Haskell-cafe] Re: Implementation of scaled integers

2007-02-15 Thread Stefan Heinzmann
Stefan Heinzmann wrote: > is there a library for Haskell that implements scaled integers, i.e. > integers with a fixed scale factor so that the scale factor does not > need to be stored, but is part of the type? > > In particular it would be useful (i.e. for signal processing) to have > numbers b

[Haskell-cafe] Re: Implementation of scaled integers

2007-02-13 Thread Benjamin Franksen
Stefan Heinzmann wrote: > is there a library for Haskell that implements scaled integers, i.e. > integers with a fixed scale factor so that the scale factor does not > need to be stored, but is part of the type? I dimly remember that there has been some work done on this in connection with (and by