![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re^8: Next Language to Learn (Lazy Perl)by LanX (Sage) |
on Apr 01, 2010 at 09:57 UTC ( #832267=note: print w/replies, xml ) | Need Help?? |
Is this supposed to be Haskell code or Haskell semantics? For me it looks more like LISP phrased in Perl.. Did you mean: ? > so maybe your general idea of using an operator would lead in the right direction... I didn't talk about operators but about tie. Using Tie::Array you could try to tie the iterator to an array @even such that you can subsequently write something like this, _with_ lazy evaluation.
again, show me what you like about Haskell - eg list comprehensions (???) - and I will see whats feasible.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|