RE: Precision of `Double's in Hugs

2002-01-14 Thread Mark P Jones
Hi Dave, | Note that I'd recommend getting some clarification about this from either | the current hugs team or Mark Jones (who are probably reading this list), | as I can vaguely recall a couple of times over the last few years where | Mark Jone has said `Hugs should not be used for serious

Re: differentiation. Reply

2002-01-14 Thread Jerzy Karczmarczuk
Ketil Z Malde adds a comment concerning the query of Zhe Fu: Is there any built-in functions in Haskell to implement diffential operation and partial diffential operation? Or can anyone give me some advices about how to implement them with Haskell? Thanks. Jerzy Karczmarczuk has some

RE: Help using a state monad

2002-01-14 Thread Chris Angus
Title: RE: Help using a state monad your pattern match of (s:sx) seems to be the cause of the delay try --Process the input mProcess :: String - State String mProcess sx = do b - isOn if ( head sx == 't' ) then toggle else return () appOut (tuUpper b (head sx)) (mProcess (tail sx))

A question from a newbie

2002-01-14 Thread Chen-Chieh Feng
hi, I just started to write a few lines using hugs98. I ran into a program error that reads like this: Program error: {instDirectPositions_v1683_v1697 dir_pt} Could anybody give me a direction on how to read this error message and the possible cause of this error? Thank you very much.

Re: A question from a newbie

2002-01-14 Thread Rijk-Jan van Haaften
Chen-Chieh Feng wrote: Program error: {instDirectPositions_v1683_v1697 dir_pt} Could anybody give me a direction on how to read this error message and the possible cause of this error? Thank you very much. Check wheter all pattern matches are complete, i.e. all constructors are matched.