Hi
Here's another one:
f [] = v
f (x:xs) = x . f xs
The "." is supposed to denote a generic operator - f [] maps to some
value v and applied to non-empty list applies head to ? operator.
Thanks, Paul
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.
Paul,
The Hutton book has gotten great reviews, but pouring over a faulty
OCRd version can only be counterproductive. I highly recommend Yet
Another Haskell Tutorial[1]. After that you can check out all the
other wonderful online resources (starting here [2]). At that point a
few OCR errors won't
The book is very well written. I did try to follow the wikibook
thingummajig but found the English a bit trying.
Cheers
Paul
t 07:43 19/09/2007, you wrote:
Paul,
The Hutton book has gotten great reviews, but pouring over a faulty
OCRd version can only be counterproductive. I highly recommend Ye
Joel
YAHT is full of symbols which cannot be rendered by the Adobe text extractor.
I appreciate your kind advice but you must also bear in mind that I
am using the Hutton book for a reason. Did you not think it'd
occurred to me also that there were other tutorials out there?
Sincerely, Paul
At
This looks like foldr, specifically:
f = foldr (.) v
so really, there's no way of telling what the operator could be, other
than that:
(.) :: a -> b -> b
where
f :: [a] -> b
v :: b
BTW, I find that most of your emails are in a very large font size. Do
other people notice this? It's not very nice
It's probably \oplus then.
The font size according to my trusty screen reader is 11 point which
is not particularly large. Still, if anybody else finds it annoying
I'll reduce it to 9pt.
Paul
At 13:21 19/09/2007, you wrote:
This looks like foldr, specifically:
f = foldr (.) v
so really, ther
erate
*Main> take 5 $ iterate (+1) 0
[0,1,2,3,4]
It would be easier to understand your desired function if you would
provide an example of desired usage.
t.
PR Stanley <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/19/2007 02:17 AM
To
haskell-cafe@haskell.org
cc
Subject
[Ha
Hi Paul,
Sorry that my suggestion wasn't so practicable.
On the other hand, I see that the YAHT tex source is available on
darcs.haskell.org/yaht. Maybe we can do something about those
unextractable symbols. Anyone know more about this? It really is a
great resource for beginners.
-- Joel
On 9
Hi Paul,
Sorry that my suggestion wasn't so practicable.
On the other hand, I see that the YAHT tex source is available on
darcs.haskell.org/yaht. Maybe we can do something about those
unextractable symbols. Anyone know more about this? It really is a
great resource for beginners.
-- Joel
On 9
YAHT is available from wikibooks in HTML form.
19.09.2007, в 18:30, Joel Koerwer писал(а):
Hi Paul,
Sorry that my suggestion wasn't so practicable.
On the other hand, I see that the YAHT tex source is available on
darcs.haskell.org/yaht. Maybe we can do something about those
unextractable sym
10 matches
Mail list logo