[Haskell-cafe] Lazy evaluation and tail-recursion
Henning Thielemann
lemming at henning-thielemann.de
Wed Mar 16 20:39:35 CET 2011
On Wed, 16 Mar 2011, Daniel Fischer wrote:
> Tail recursion is good for strict stuff, otherwise the above pattern - I
> think it's called guarded recursion - is better, have the recursive call as
> a non-strict field of a constructor.
In
http://haskell.org/haskellwiki/Tail_recursion
it is also called 'guarded recursion', however the linked article is yet
to be written ...
More information about the Haskell-Cafe
mailing list