|Syntactic Confectionery Delight|
Re^6: Next Language to Learnby LanX (Bishop)
|on Mar 31, 2010 at 11:12 UTC||Need Help??|
> For instance it would be interesting to see, how easy/clumsy it is to retrofit lazy evaluation into Perl.
E.g.you can tie an iterator to a variable.
I'm not fluent in Haskell, so gimme an example and I'll see what's possible.
> With enough pertinacity, every language can be made to look like LISP :-D
Well, unfortunately it's not trivial to realize LISPish macros in Perl 5, otherwise most language extensions I can think of would be easily possible.
Compare Re^2: Dumping variables but DRY and simple for a use case for a macro.