Re: [Haskell] Numeric programming on toy problems in Haskell

2007-09-10 Thread Isaac Dupree
Philip K.F. Hölzenspies wrote: You can have a look at the Number module here: http://www.cs.utwente.nl/~holzensp/Number.hs Now, whenever I've hacked together a small program, it nearly always works. When it doesn't, it generally complains about some numeric value somewhere. I just stick a "toNu

[Haskell] Numeric programming on toy problems in Haskell

2007-09-10 Thread Philip K . F . Hölzenspies
Dear Tomi, all, I agree with everyone on this list that there is a good reason for being picky about numeric types. However, when you're simply trying to understand a small problem or puzzle, the rather intricate numeric part of the type system can be prohibitively complex. I'm no Haskell guru, bu