
About the line length needed for Haskell programs, there was a discussion
about this some time ago, that could be regarded as a tutorial for
reducing indentation:
http://haskell.org/pipermail/haskell-cafe/2007-July/028787.html
As for the idle core you mention: I keep one core fully occupied with a
program that searches for a cure against cancer, see:
http://www.computeagainstcancer.org/
The example you gave for the use of "map" can be simplified:
map func (take (10 [0..])) -- should actually be: map func (take 10
[0..])
->
map func [0..9]
Regards,
Henk-Jan van Tuyl
--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--
On Tue, 04 Mar 2008 07:29:24 +0100, Alan Carter
Many thanks for the explanations when I was first experimenting with Haskell. I managed to finish translating a C++ wxWidgets program into Haskell wxHaskell, and am certainly impressed.
I've written up some reflections on my newbie experience together with both versions, which might be helpful to people interested in popularizing Haskell, at:
http://the-programmers-stone.com/2008/03/04/a-first-haskell-experience/
Regards,
Alan
-- -- Met vriendelijke groet, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ --