Re: can't make from a S/// ?

2021-11-20 Thread Marc Chantreux
hello William, > method col:sym ($/) { make $/.subst(/'""'/, '"', :global).Str } which is just a longuest version of the line Ralph wrote. i'm inclined to think that this is easier to read: method col:sym ($/) { .make ~S:g/'""'/"/ } > The following line seems to work just fine, with-or-with

Raku and Datasciences

2021-11-20 Thread Marc Chantreux
hello people, > I am still defending that we need a package for data > analysis/science/engineer (like the Perl5 PDL, Python Pandas or R > data.table) and an IDE for streaming programming like jupyter or rstudio. I'm still excited about this idea and my offer to test/feedback/document remains ope

Re: can't make from a S/// ?

2021-11-20 Thread William Michels via perl6-users
> > Marc wrote: > i'm inclined to think that this is easier to read: > method col:sym ($/) { .make ~S:g/'""'/"/ } > That's not working for me. I'm on Moar (2021.06). This Is what I get back (first error below, note the "grammar CSV" line is the first line of the script, and method col:sym is on l

Re: can't make from a S/// ?

2021-11-20 Thread Marc Chantreux
helllo William, > > Marc wrote: > > i'm inclined to think that this is easier to read: > > method col:sym ($/) { .make ~S:g/'""'/"/ } > That's not working for me. I'm on Moar (2021.06). works for me with: Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2021.09. Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d.

Re: can't make from a S/// ?

2021-11-20 Thread The Sidhekin
On Sat, Nov 20, 2021 at 9:03 PM Marc Chantreux wrote: > > > method col:sym ($/) { .make ~S:g/'""'/"/ } > > That's not working for me. I'm on Moar (2021.06). > > works for me with: > method col:sym ($_) { .make: ~S:g/'""'/"/ } > Yeah, you got it wrong the first time. To explicate, the key

Re: can't make from a S/// ?

2021-11-20 Thread Marc Chantreux
> On Sat, Nov 20, 2021 at 9:03 PM Marc Chantreux wrote: > > > > method col:sym ($/) { .make ~S:g/'""'/"/ } > > > That's not working for me. I'm on Moar (2021.06). > > works for me with: > > method col:sym ($_) { .make: ~S:g/'""'/"/ } > Yeah, you got it wrong the first time. To explicate, the key