Hello --
I'm writing at the suggestion of Shae Erisson, who mentioned to me
that there was some interest in writing a collaborative online Haskell
tutorial.
I happen to be involved in organizing something called the Language of
the Year project (LotY), which, in brief, involves following up on t
BODY>
Email us at mailto:[EMAIL PROTECTED]%20";>[EMAIL PROTECTED]
or call our 24 hour toll-free numbers now:
USA:
1-800-587-9036
I wrote:
> > super :: (Floating a, RealFrac a) => [a] -> [a]
> > super xs = map second (myRepeat improve xs)
The definition must be:
> super xs = map second (iterate improve xs)
Cheers,
Dimitre Novatchev.
_
> how about this:
>
> diff f x = (f (x + epsilon) - f (x - epsilon)) / (2 * epsilon)
>where epsilon = 0.1
>
> every call to say "diff sin" will cost you about as much as every call to
> "sin"
Following John Hughes' article "Why Functional Programming Matters", here's one
implementatio
Why, in the following program:
> createFile = unsafePerformIO $
> writeFile "test.xxx"
>('1' : (take 1000 (repeat '0')) ++ "1")
>
> processFile =
> unsafePerformIO $
> do f <- readFile "test.xxx"
>return (dropWhile (=='0') $
>
On Wednesday 09 January 2002 10:59 am, you wrote:
> diff f x = (f (x + epsilon) - f (x - epsilon)) / (2 * epsilon)
>where epsilon = 0.1
>
> every call to say "diff sin" will cost you about as much as every call to
> "sin"
s/every call to "sin"/two calls to "sin"/
of course
Alec
___
On Wednesday 09 January 2002 06:50 am, S.D.Mechveliani wrote:
> Zhe Fu <[EMAIL PROTECTED]> writes
>
> > 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 Ha
This patch fixes a problem with the glob binding example in
qforeign, where it would segfault when no files were found
for the glob exp.
Btw, Qrczak, have you considered adding the glibc glob flag
extensions to Glob (eg GLOB_BRACE, GLOB_TILDE, etc)? They
would be nice to have too, but I guess th
We apologize for possible multiple postings.
One week extension of paper submission deadline and invited speakers
-
Within the last two weeks the conference chairs have received multiple
requests to extend the paper s
Zhe Fu <[EMAIL PROTECTED]> writes
> 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.
There are no differential operators in Haskell-98 sta
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.
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.has
11 matches
Mail list logo