Stephen Tetley wrote:
On 14 July 2010 22:37, Andrew Coppin <andrewcop...@btinternet.com> wrote:

(The small problem with the approach above, of course, is that as soon as
the function wants to do comparisons or take flow control decisions, you've
got trouble. It's not impossible to solve, but it *is* a lot of work...)


Hi Andrew

You could try pairing both the Dye representation and a genuinely
numeric one in the same type.

Yes. That's the obvious way to do this. But, like I said, " a lot of work". Especially if somebody else has already done it for me. ;-)

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to