Re: Haskell 98 - Standard Prelude - Floating Class

2001-10-16 Thread Kent Karlsson
- Original Message - From: "Dylan Thurston" <[EMAIL PROTECTED]> ... > cos x = (exp (i*x) + exp (-i*x))/2 where i = sqrt (-1) Disregarding that Haskell does not (yet) have Imaginary types (as distinct from Complex): Any reasonable specification and implementation would go the other

ExitFailure 127

2001-10-16 Thread Sebastian Schulz
hi. I'm trying to run an system command (wget) within a CGI script and get the following error: >Exitfailure 127 How can I get more information out of an ExitFailure x error? Can I use ioeGetErrorString? But this function doesn't work on ExitCode, which system returns. TIA sebastian _

Re: Haskell 98 - Standard Prelude - Floating Class

2001-10-16 Thread Brian Boutel
Kent Karlsson wrote: > > Default definitions may be inefficient, but in my opinion, default definitions > for approximate operations should not give drastically lower accuracy, and > should certainly not violate any other reasonable expectations (like that sin x > returns x for x close to 0). >