[Haskell-beginners] IO loops with tail call

edgar klerks edgar.klerks at gmail.com
Mon Nov 8 05:21:41 EST 2010


Hi Yasuyuki,

Here is some resource Brent produced, why tail-recursion isn't that
important in haskell:

http://www.haskell.org/pipermail/haskell-cafe/2009-March/058607.html
(http://www.haskell.org/haskellwiki/Tail_recursion)

I think it is nice to have some background (and it is pretty interesting).

Greets,

Edgar

On Sun, Nov 7, 2010 at 4:16 AM, Yasuyuki Ogawa <yuka_pon20 at yahoo.co.jp>wrote:

> Hi Brent,
>
>
> (2010/11/07 4:26), Brent Yorgey wrote:
>
>> However, the real answer is: don't worry about it!  Because of
>> Haskell's lazy evaluation, the notion of "tail call" is not very
>> important. And even if it were, you still shouldn't worry about it:
>> just write your Haskell programs in the most natural, beautiful style
>> you can think of.  Maybe at some point down the road you will have
>> to start worrying about optimization.  But you should put it off as
>> long as possible.
>>
>
> Thank you for your helpful advice. In fact, I was wondering
> how coding styles affect optimization! I'll forget it a while.
>
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20101108/e5de08e2/attachment.html


More information about the Beginners mailing list