News for hackers. Stuff that matters.
Re:Haskell to Perl 6 by johnisgood on Saturday December 08, 2018 @06:18AM (#18634787)
> Perl 6 is for people who are very smart and have a great spirit in seeking and having fun in programming

Not sure why you felt the need to include this. How did you come to this conclusion? Is this in comparison to Haskell, or what?

Re:Haskell to Perl 6 by kev6168 on Saturday December 08, 2018 @06:31AM (#18634810)
It was tongue in cheek, haha... I was only frustrated by my own inability to get the hang of Perl 6. As an old casual fan of Perl, I still want to take another shot at learning it very much.
Re:Haskell to Perl 6 by 4thaccount on Saturday December 08, 2018 @09:01AM (#18635231)
The perl6intro website shows you the essentials of what you need and the ecosystem has matured a lot since 2014 as well as many good books being published. Laurent Rosenfield has a Think Perl6 book that you can buy in paper or read online for free. If you can already code, getting proficient in basic Perl6 is easy. Becoming a master is outside my current grasp.
Re:Haskell to Perl 6 by kev6168 on Saturday December 08, 2018 @09:52AM (#18635476)
Thanks for the recommendations.

One liners are fun, and life-saving. I am curious about this aspect compared to Perl 5. With Perl 6's new syntax and language features, can we still easily [ab]use one liners for fun and profit?

Re:Haskell to Perl 6 by raiph on Saturday December 08, 2018 @11:11AM (#18635870)
Cons:

* Rakudo -- the only P6 compiler for now (and likely many years, maybe forever) -- has a slow startup, around 0.1 seconds or so.

* Rakudo is still a work in progress. What's done is pretty solid but, for example, no one has implemented the `-a` awk/autosplit command line option (cf https://gist.github.com/raiph/1d0cbefcb3cfe45b0b906282e6e405...) and command line usage is currently `use strict;` by default so you have to declare variables with `my`.

* Pros

P6 makes for sweet oneliners...

25 one liners being written up this month: https://perl6.online/category/advent-calendar/

9 categories last updated a year ago: https://github.com/dnmfarrell/Perl6-One-Liners

https://www.google.com/search?q=perl6+oneliners https://www.google.com/search?q=perl6+one+liners

Re:Haskell to Perl 6 by 4thaccount on Saturday December 08, 2018 @01:27PM (#18636646)
Personally, over time I fully expect it to beat P5 in mostly everything given enough time.