|We don't bite newbies here... much|
Re^8: Next Language to Learn (Lazy Perl)by LanX (Sage)
|on Apr 01, 2010 at 09:57 UTC||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.