»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:03
comborico1611 left
00:05
lichtkind left
00:07
mcmillhj_ joined
00:10
lizmat left
00:11
lizmat joined,
n0tjack left
00:12
mcmillhj_ left
00:25
pecastro left,
pecastro joined
00:28
Kaiepi left,
mcmillhj left,
markong left
00:29
Kaiepi joined,
Kaiepi left
00:30
aborazmeh left,
Kaiepi joined
00:31
Kaiepi left
00:32
Kaiepi joined
|
|||
ktown | MasterDuke: hmm i was looking at this page: docs.perl6.org/language/functions#Signatures | 00:39 | |
00:43
Kaiepi left,
Kaiepi joined,
mcmillhj joined
|
|||
raschipi | ktown: docs.perl6.org/language/functions#...cion_Types | 00:44 | |
00:48
mcmillhj left
|
|||
ktown | I started forcing types becasue the dynamic types did not do what I was expecting | 00:49 | |
m: sub got( $x where ^10 ) { dd $x }; got "3" | 00:51 | ||
camelia | Constraint type check failed in binding to parameter '$x'; expected anonymous constraint to be met but got Str ("3") in sub got at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
ktown | the option to enforce a type is good, as is the option to force a specific coercion, but failing on a simple int math comparison :( | 00:58 | |
raschipi | m: "3" ~~ ^10 | ||
camelia | ( no output ) | ||
raschipi | m: say "3" ~~ ^10 | ||
camelia | False | ||
raschipi | m: say +"3" ~~ ^10 | ||
camelia | True | ||
raschipi | m: sub got( Numeric() $x where ^10 ) { dd $x }; got "3" | 01:00 | |
camelia | 3 | ||
raschipi | m: sub got( Numeric() $x where ^10 ) { dd $x }; got "13" | ||
camelia | Constraint type check failed in binding to parameter '$x'; expected anonymous constraint to be met but got Int (13) in sub got at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
ktown | perl -e 'print "3" eq 3' => 1 | 01:01 | |
perl -e 'print "3" == 3' => 1 | |||
01:01
mcmillhj joined
|
|||
raschipi | Yeah, Perl 6 doesn't go that far, you need to use either explicit coercion or use one of the operators that will coerce automatically. Smartmatch doesn't autocoerce. | 01:03 | |
Smartmatch isn't a typed operator, it doesn't know if it should do numeric or string comparisson. | 01:04 | ||
01:05
mcmillhj_ joined
|
|||
raschipi | m: say "3" eq 3; say "3" == 3 | 01:06 | |
camelia | True True |
||
raschipi | Those are typed, one will coerce to string and the other will coerce to numeric | 01:07 | |
That's because they have Str() or Numeric() in their signatures | |||
ktown | yes, but it did not do that with the signature, but more odd was sometimes is did and sometimes it did not | 01:08 | |
raschipi | Well, if it doesn't coerce for you, prefix + and prefix ~ will | 01:09 | |
ktown | the odd bit, I was looping a list of strings and after a few it would error | ||
01:10
mcmillhj_ left
|
|||
raschipi | That would be odd indeed. | 01:10 | |
01:11
Kaiepi left
01:19
molaf left
01:20
raynold joined,
mcmillhj_ joined
01:25
mcmillhj_ left
01:28
Qwerasd joined
|
|||
ktown | well it's time to publish my turtle graphics for the terminal ascii eta sketch module | 01:29 | |
ktown googles how to do that | 01:31 | ||
01:31
molaf joined
|
|||
raschipi | vector based or cartesian based? | 01:32 | |
ktown | it's vi bindings... l is right | ||
raschipi | right of the turtle or absolute right? | 01:33 | |
01:35
mcmillhj_ joined
|
|||
ktown | l one "pixel" to the right | 01:36 | |
raschipi | To the right of the screen? | ||
ktown | relative to the current cursor position | ||
raschipi | So it's not really a turtle graphics program | 01:37 | |
ktown | no, it's an etch-a-sketch | 01:38 | |
raschipi | That would be fun too | 01:39 | |
ktown | puzzle challenge what would this do? | ||
1 4,3,0 h h k k l l j j 7,3,0 l l k k h h j j 4,7,0 h h k k l l j j 7,7,0 l l k k h h j j 5,5,0 6 l l k k h h j j 80 3,2,1 54 8,2,1 10 6,4,1 d | |||
raschipi | what do the number commands do? and the commas? | 01:40 | |
01:40
mcmillhj_ left
|
|||
ktown | number set the pen "colour" | 01:41 | |
commas are goto | |||
pencolour 10 is a smiley | 01:42 | ||
raschipi | goto where? | ||
ktown | x,y | 01:43 | |
raschipi | let me get graph paper | ||
perlawhirl | all of life's problems can be solved with graph paper | 01:44 | |
ktown | grid is 10 by 10 | ||
01:45
ilbot3 left
|
|||
raschipi | starts at the center or at a corner? | 01:46 | |
does it paint or teleports when it goesto? | |||
what does x,y,z do? | 01:47 | ||
ktown | teleport, x,y,p p=1 will write, p=0 is pen up | 01:48 | |
raschipi | is the grid numbered starting at 0 or 1? | 01:49 | |
doesn't matter | 01:50 | ||
ktown | it's perl, array are zero indexed | ||
the timer is running | 01:51 | ||
raschipi | I will take some more time then, can't have enought of it | 01:52 | |
No idea what it is | 01:55 | ||
ktown | i guess you will have to wait until how I figure out how to publish the module | 01:56 | |
01:56
ilbot3 joined,
ChanServ sets mode: +v ilbot3
|
|||
raschipi | Do you how to use git? | 01:57 | |
02:00
mcmillhj_ joined,
Kaiepi joined
|
|||
ktown | git is one of those spells you cast at the commandline | 02:02 | |
02:04
mcmillhj_ left
|
|||
raschipi | yes it is, do you know how to do it? | 02:26 | |
Summertime | just make an alias `git pulshmit` and use it for everything, works fine | 02:27 | |
Kaiepi | git's confusing at first but it's not as bad as some of the alternatives out there | 02:30 | |
the only cvs command i know is up | |||
ktown | is that a real command?? or a euphemism for pull shit? | 02:31 | |
geekosaur | short for update | ||
02:31
mcmillhj_ joined
|
|||
geekosaur | oh, the Summertime comment. that wasn't in base git/ but git is extensible to the point that there's noi promises there isn't one *somewhere* | 02:32 | |
ktown | i have only used it a bit, need to learn more | ||
geekosaur | and some of the stuff I've seen in git extensions is ... | ||
Summertime | pulsh is common for pull push | ||
I was joking that commit should be added to that as well | |||
Kaiepi | mercurial has some useful extensions | 02:33 | |
i've never checked out git's though | |||
02:35
mcmillhj_ left
02:38
Zoffix left
02:40
Sgeo_ joined,
Sgeo left
02:45
eliasr left
|
|||
ktown | raschipi: no ish, I will work through the docs and the blog post from 2016 from the guy with the cool license plate. | 02:47 | |
02:47
pilne left
02:56
mcmillhj left
|
|||
raschipi | Now I know, it's the turtle! | 02:58 | |
02:59
mcmillhj joined
03:02
atweiden-air joined
|
|||
atweiden-air | if you have a module like `use ABC; use DEF; unit module XYZ;`, can you make it so that doing `use XYZ` elsewhere is also using `ABC` and `DEF`? | 03:02 | |
ktown | I started with only 0-9 as ascii greyscale, then added unicode chars, then added 32-126, but really one can create any non standard char mapping. | ||
atweiden-air | how can unit class XYZ export `use ABC; use DEF`? | ||
looking at the docs (docs.perl6.org/language/modules#EXPORT), `sub EXPORT` shortname looked promising, but it isn't working for me in unit module XYZ | 03:03 | ||
03:04
mcmillhj left
|
|||
ktown | raschipi: yes the Numeric() changes the turtle! | 03:07 | |
03:08
Zoffix joined
|
|||
Zoffix | atweiden-air: what code you got? | 03:09 | |
atweiden-air: here's a sample of a module that uses a bunch of stuff and exports the symbols from the used sub whenever just the module is used: modules.perl6.org/dist/P5built-ins:...ins.pm6#L3 | |||
atweiden-air | Zoffix: basically this ix.io/1b7w | 03:11 | |
Zoffix | atweiden-air: put it before `unit ...` | ||
s/it/sub EXPORT/; | 03:12 | ||
03:13
mcmillhj joined
|
|||
Zoffix | atweiden-air: works: gist.github.com/zoffixznet/eb5863c...400d76fe74 | 03:14 | |
but if you place sub EXPORT after the `unit` bit, it becomes a sub inside that thing, rather than a global | 03:15 | ||
raschipi | Zoffix: do you have any plans for modules.perl6.org to render pod like Github does? | ||
atweiden-air | Zoffix: ic | 03:16 | |
atweiden-air does a barrel roll | 03:17 | ||
03:17
mcmillhj left
|
|||
Zoffix | raschipi: but github doesn't render Pod6 | 03:18 | |
raschipi: but regardless, I have no plans to work on modules.perl6.org this year | |||
And probably neither in 2019 | |||
raschipi | Right, I got confused because zef has a README.pod that is redered, but it's pod5 | 03:19 | |
Geth | doc: 792e1facdc | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 Point out `sub EXPORT` must be before `unit` irclog.perlgeek.de/perl6/2018-05-23#i_16195729 |
||
synopsebot | Link: doc.perl6.org/language/modules | ||
skids | technically you are supposed to be able to "use MyOtherModule :EXPORT;" | 03:23 | |
Zoffix | that's be nice | 03:24 | |
03:24
Zoffix left,
shareable6 left
03:29
kurahaupo joined,
kurahaupo left
03:30
kurahaupo joined
03:32
mcmillhj joined,
kurahaupo_ left
03:36
mcmillhj left
03:41
raschipi left
03:45
mcmillhj joined
03:49
mcmillhj left
|
|||
[Coke] waves from Dallas, TX | 04:06 | ||
04:09
itaipu joined
|
|||
skids waves from the same old place he always is :-) | 04:10 | ||
04:12
mcmillhj joined
04:17
mcmillhj left
04:19
shareable6 joined,
ChanServ sets mode: +v shareable6
04:32
mcmillhj joined
04:36
mcmillhj left
04:38
ChoHag left
04:39
ChoHag joined
|
|||
Geth | doc/master: 5 commits pushed by (Will "Coke" Coleda)++ | 04:44 | |
04:44
curan joined
04:46
xtreak joined
04:48
molaf left
04:49
itaipu left
04:52
broquaint left
04:53
psychoslave joined
04:59
jmerelo joined
|
|||
Geth | doc: 4f480b76c4 | skids++ | doc/Type/WhateverCode.pod6 tiny language touch-up |
05:00 | |
synopsebot | Link: doc.perl6.org/type/WhateverCode | ||
05:06
kurahaupo left,
kurahaupo joined
05:07
kurahaupo left,
kurahaupo joined,
atweiden-air left,
shareable6 left
05:08
mcmillhj joined
05:13
mcmillhj left
05:19
aindilis left
05:20
wamba joined
05:21
xtreak left
05:23
Sgeo joined
05:25
Sgeo_ left
05:29
xtreak joined
05:35
psychoslave left
05:37
Qwerasd left
05:39
psychoslave joined
05:40
skids left
05:41
mcmillhj joined
05:46
mcmillhj left
|
|||
Geth | doc: 101fc1efad | (JJ Merelo)++ | 2 files Adds instructions for using utf8-c8 encoding Closes #2043 hopefully. Examples have been taken from roast, so maybe they are not ideal, but at least they are correct. |
05:48 | |
05:50
sauvin joined
05:57
DeepIO joined
06:00
psychoslave left
06:01
shareable6 joined,
ChanServ sets mode: +v shareable6
06:03
DeepIO left
06:04
kurahaupo_ joined
06:05
kurahaupo_ left
06:06
epony left
06:07
kurahaupo_ joined
06:08
kurahaupo left
06:09
kurahaupo_ is now known as kurahaupo
06:14
epony joined
06:16
aaa_ joined
06:17
aaa_ is now known as Guest67801,
Guest67801 left
06:24
domidumont joined
|
|||
Geth | ¦ doc: JJ self-assigned False positive in xt/examples compilation.t github.com/perl6/doc/issues/2048 | 06:25 | |
06:26
darutoko joined
06:29
mcmillhj joined
06:30
andrzejku joined
06:31
domidumont left,
domidumont joined
06:33
andrzejku_ left,
mcmillhj left
06:37
kurahaupo left,
kurahaupo joined
06:41
abraxxa joined
|
|||
Geth | doc/master: 6 commits pushed by (JJ Merelo)++ | 06:41 | |
doc: 1b5df39e71 | (JJ Merelo)++ | t/02-pod-valid.t Finish Test-Files documents|pods refactoring closes #2047 |
06:44 | ||
06:45
rindolf joined
06:47
wamba left,
psychoslave joined
06:48
andrzejku_ joined
|
|||
Geth | doc: 2cb0d397bc | (Ben Davies)++ | util/perl-nbsp.p6 util/perl-nbsp.p6 refactor for #2047 |
06:48 | |
06:51
andrzejku left,
shareable6 left
06:58
mcmillhj joined,
robertle joined
07:02
mcmillhj left
07:10
vike left,
mcmillhj joined
07:12
kurahaupo_ joined
07:13
kurahaupo left,
kurahaupo_ left,
kurahaupo joined
07:14
vike joined,
kurahaupo_ joined
07:15
mcmillhj left
07:16
wamba joined
07:17
aindilis joined
07:18
kurahaupo left
07:19
kurahaupo_ left,
kurahaupo joined
07:21
mcmillhj joined
07:24
kurahaupo_ joined
07:26
mcmillhj left,
kurahaupo left
07:27
epony left
|
|||
Geth | doc: a2413506ed | (JJ Merelo)++ | 2 files Adds test for variants of "normalized" workds like filehandle New words should be added to the `%variants` hash when they are effectively normalized. Closes #2041 |
07:30 | |
07:31
enheh left
07:32
enheh joined
07:39
mcmillhj joined
07:43
mcmillhj left
07:47
shareable6 joined,
ChanServ sets mode: +v shareable6
07:54
araujo left
07:56
DataLinkDroid left
08:00
dominix joined
|
|||
dominix | hi everyone | 08:00 | |
jmerelo | hi | ||
AlexDaniel | o/ | 08:01 | |
dominix | I have an infinite list, like this "((^∞).grep: *.is-prime)" and I would like to step into until I reach a maximum, let say 1000. | ||
I was able to step for 1000, but not until $_ >= 1000 | 08:02 | ||
lizmat | ah, not a 1000 steps, but the value 1000 ? | ||
dominix | it should be easy, but at this late hour, I just hang | ||
08:03
kurahaupo_ left
|
|||
dominix | yes the value | 08:03 | |
08:03
kurahaupo joined
|
|||
jmerelo | m: say (^1000).grep: *.is-prime | 08:03 | |
camelia | (2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349… | ||
dominix | $_.say for ((^∞).grep: *.is-prime) while ($_ < 1000); it didn't compile | ||
jmerelo | m: say (1 ... * < 1000 ).grep: *.is-prime | 08:04 | |
camelia | () | ||
jmerelo | m: say (1 .. * < 1000 ).grep: *.is-prime | ||
camelia | () | ||
jmerelo | say 1… * < 1000 | ||
evalable6 | (1) | ||
jmerelo | say 1, * + 1 … * < 1000 | ||
evalable6 | (1) | ||
jmerelo | say 1, * + 1 … (* < 1000) | 08:05 | |
evalable6 | (1) | ||
jmerelo | agh | ||
dominix | ok, I'm not alone | ||
08:05
mcmillhj joined,
aindilis left
|
|||
lizmat | m: dd ^Inf .grep( *.is-prime ).toggle( * < 1000 ).tail | 08:06 | |
camelia | 997 | ||
jmerelo | dominix: yep, but the first one above should work, if that's what you are looking for | ||
m: say (^1000).grep: *.is-prime | |||
camelia | (2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349… | ||
dominix | ok, how could I say. I taken isprime as example,but my function is not linear, and is time based ... so basically I have to test on the result, not on the input. | 08:08 | |
08:10
mcmillhj left
|
|||
dominix | I will try until infinite, so "for ((^∞)." is a good begining, then my func apply ... and then I would like to test and stop if I have reached 1000 | 08:10 | |
as a result | |||
jmerelo | dominix: you can try generators: docs.perl6.org/routine/....html | 08:18 | |
dominix: also, formulate the question in StackOverflow :-) | |||
m: say 1, 1, * + * … * < 1000 | 08:19 | ||
camelia | (1) | ||
jmerelo | m: say (1, 1, * + * … * < 1000) | 08:20 | |
camelia | (1) | ||
dominix | yes generators seem the right way | ||
thanks jmerelo | 08:21 | ||
jmerelo | dominix: good luck | ||
m: say 1, 1, * + * … 1000 | 08:22 | ||
camelia | (1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 28657 46368 75025 121393 196418 317811 514229 832040 1346269 2178309 3524578 5702887 9227465 14930352 24157817 39088169 63245986 102334155 165580141 267914296 433494437 70… | ||
jmerelo | m: say 1, 1, * + * … * > 1000 | ||
camelia | (1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597) | ||
jmerelo | dominix: you can put as the third term any generator function you want... | ||
lizmat | m: say 1, 1, * + * …^ * > 1000 # if you want to exclude the last one | 08:23 | |
camelia | (1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987) | ||
08:24
dakkar joined
|
|||
dominix | interesting | 08:24 | |
lizmat | m: ^Inf .grep( *.is-prime ).toggle( * < 1000 ) | 08:26 | |
hmmm | |||
tobs | m: say (2, 4, 8, * ** * ** * … *).head(10) | ||
camelia | (timeout) | 08:27 | |
Numeric overflow in block <unit> at <tmp> line 1 |
|||
08:27
rindolf left
|
|||
lizmat | m: dd ^Inf .grep( *.is-prime ).toggle( * < 1000 ) | 08:27 | |
camelia | (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263,… | ||
08:31
epony joined,
pierrot left
08:33
pierrot joined
|
|||
dominix | m: dd ^Inf .grep( *.is-prime ).toggle( * < 1000 ) | 08:36 | |
camelia | (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263,… | ||
dominix | this one is neat | ||
thans lizmat: | 08:37 | ||
thanks | |||
08:38
mcmillhj joined
|
|||
dominix | so long way till I master perl6 ... | 08:38 | |
08:42
mcmillhj left
|
|||
buggable | New CPAN upload: User-grent-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz | 08:43 | |
08:44
xtreak left
08:52
rindolf joined
08:54
mcmillhj joined
08:58
mcmillhj left
09:01
dominix left
09:10
wamba left
09:12
xtreak joined
09:19
psychoslave left
09:22
psychoslave joined
09:27
mcmillhj joined
09:32
mcmillhj left
09:35
HaraldJoerg joined
09:43
w_richard_w left
|
|||
buggable | New CPAN upload: P5pack-0.0.6.tar.gz by ELIZABETH modules.perl6.org/dist/P5pack:cpan:ELIZABETH | 09:43 | |
09:44
mcmillhj joined
09:45
wamba joined
09:49
mcmillhj left
09:53
eliasr joined
10:00
Qwerasd joined
10:15
mcmillhj joined
10:16
lizmat is now known as lizmat_,
lizmat_ is now known as lizmat,
domidumont left
10:19
benjikun left
10:20
mcmillhj left
10:21
benjikun joined
10:34
kiwi_14 joined
10:36
xtreak left,
xtreak joined,
xtreak left
10:39
markong joined
11:01
n0tjack joined
11:07
zakharyas joined
11:18
Kaffe joined
11:19
Kaffe left
11:20
mcmillhj joined
11:23
scimon joined
11:24
n0tjack left
11:25
mcmillhj left
11:26
xtreak joined
11:31
wamba left,
mingdao left
11:35
mcmillhj joined
11:36
n0tjack joined
11:37
raynold left
11:38
mingdao joined
11:39
mcmillhj left
|
|||
Geth | doc: Reko98++ created pull request #2049: README.fr.md |
11:40 | |
11:41
shareable6 left
|
|||
Geth | doc/master: 4 commits pushed by Reko98++, (Juan Julián Merelo Guervós)++
|
11:41 | |
11:41
raschipi joined
11:43
xtreak left
11:44
xtreak joined
|
|||
raschipi | jmerelo++ | 11:48 | |
11:49
gregf_ left
|
|||
lizmat | .oO( cool seeing changes to French version with Spanish commit messages ) |
11:49 | |
jmerelo | lizmat: she's someone from Granada, actually, although I don't really know her. | 11:50 | |
lizmat: that makes three translations from Granada: Spanish, French and Japanese... :-) | |||
El_Che | maybe it's the prelude of a Catalan version, being a language pretty much in the middle of Spanish and French linguistically | ||
jmerelo | El_Che: that, or occitan :-) | ||
raschipi | Gonna start sending changes to the English version with Portuguese commit messages. | 11:51 | |
El_Che | papa, potato | ||
11:51
enheh_ joined
|
|||
jmerelo | raschipi: I'll accept the pull request with klingon comments... | 11:51 | |
11:53
enheh left
|
|||
jmerelo | I have made a new report related to the grant, this time analyzing the behavior of issues with respec to labels github.com/JJ/TPF-Grant/releases/tag/v0.5 | 11:54 | |
11:54
itaipu joined
|
|||
jmerelo | Rmarkdown, scripts, data is in the repo too. I'll upload it to ResearchGate pretty soon, when I've polished it a bit. | 11:54 | |
That's also open science (or source, or whatever), so feel free to send pull requests and comments. | 11:55 | ||
El_Che | jmerelo: are you having fun during the grant? :) | ||
jmerelo | El_Che: I always do when I learn new stuff :-) | ||
Gist of it is: self organizing works pretty well, all things considered, but a thin management layer could boost productivity. | 11:56 | ||
But no spoiler, you'll have to read the report beyond the pretty charts :-) | |||
As an immediate conclusion, it would be good to label all open issues... There are quite a few with no labels yet. I'll try to do it later on today or maybe tomorrow, I'm doing a graffiti workshop this afternoon. | 11:58 | ||
11:58
Qwerasd left
12:01
mcmillhj joined
|
|||
buggable | New CPAN upload: User-pwent-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz | 12:03 | |
12:06
mcmillhj left
12:18
ExtraCrispy joined,
xtreak left,
mcmillhj joined
12:20
mryan_ joined
12:23
mcmillhj left
12:32
mcmillhj joined
12:33
mcmillhj_ joined
12:38
shareable6 joined
12:39
mryan_ left
12:40
itaipu left
12:47
itaipu joined
12:56
mingdao left
12:58
mingdao joined
13:01
zakharyas left
13:02
andrzejku joined
13:05
andrzejku_ left
13:06
andrzejku_ joined
13:08
athenot joined
13:09
andrzejku left
13:11
athenot_ joined
13:15
athenot left,
n0tjack left
13:18
itaipu left
|
|||
Geth | doc/ronaldxs-patch-1: 084c6fde91 | (Ronald Schmidt)++ (committed using GitHub Web editor) | README.fr.md Update README.fr.md - looks typo to my rusty french My french isn't that good and hasn't been actively used in a while but after googling `exéxutez` still looks like a typo. |
13:21 | |
doc: ronaldxs++ created pull request #2050: Update README.fr.md - looks typo to my rusty french |
|||
13:27
shareable6 left
13:34
araujo joined
13:35
araujo left
13:36
araujo joined,
araujo left
13:37
araujo joined
|
|||
buggable | New CPAN upload: P5getnetbyname-0.0.3.tar.gz by ELIZABETH modules.perl6.org/dist/P5getnetbyna...:ELIZABETH | 13:43 | |
13:50
itaipu joined
13:57
margeas joined
13:58
enheh_ left,
markong left
13:59
lucasb joined,
domidumont joined,
enheh_ joined
|
|||
raschipi | u: | 14:01 | |
unicodable6 | raschipi, U+0020 SPACE [Zs] ( ) | ||
14:01
markong joined
|
|||
donpdonp | u: | 14:01 | |
unicodable6 | donpdonp, U+200A HAIR SPACE [Zs] ( ) | ||
14:04
margeas left,
margeas joined
14:05
markong left
14:11
margeas is now known as markong
14:14
pmurias joined
14:22
shareable6 joined,
wamba joined
|
|||
buggable | New CPAN upload: Net-netent-0.0.1.tar.gz by ELIZABETH modules.perl6.org/dist/Net::netent:...:ELIZABETH | 14:23 | |
14:23
kiwi_14 left
|
|||
lucasb | m: if 'x' ~~ /./ { say 'yes' } | 14:28 | |
camelia | yes | ||
lucasb | m: for 'x' ~~ /./ { say 'yes' } | ||
camelia | ( no output ) | ||
raschipi | lizmat: The META6.json in Net-netent has a link to github.com/lizmat/User-netent.git I think it should be github.com/lizmat/Net-netent.git | ||
lucasb | ^^ is this a worthy mention for the traps document? | ||
14:29
curan left
|
|||
raschipi | m: for 'x' ~~ /(.)/ { say $_ } | 14:30 | |
camelia | 「x」 | ||
Geth | doc: 084c6fde91 | (Ronald Schmidt)++ (committed using GitHub Web editor) | README.fr.md Update README.fr.md - looks typo to my rusty french My french isn't that good and hasn't been actively used in a while but after googling `exéxutez` still looks like a typo. |
||
doc: d05cae266e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | README.fr.md Merge pull request #2050 from perl6/ronaldxs-patch-1 Update README.fr.md - looks typo to my rusty french Thanks! |
|||
raschipi | m: for 'x' ~~ /(.)/ { say yes } | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: yes used at line 1 |
||
raschipi | m: for 'x' ~~ /(.)/ { say 'yes' } | ||
camelia | yes | ||
jmerelo | lucasb: it could be. Just create an issue. | ||
lucasb | jmerelo: ok, thanks | 14:32 | |
raschipi | I agree it should, just showing how it can work. | ||
14:33
domidumont left
14:40
mahafyi joined,
margeas joined,
markong left
14:41
mcmillhj left
14:42
mcmillhj_ left,
margeas is now known as markong
14:44
mcmillhj joined
14:47
margeas joined
14:48
markong left
14:49
margeas is now known as markong,
mcmillhj left
15:00
araraloren joined
|
|||
araraloren | m: subset XI of Code where { .signature ~~ :(int32)}; sub signal(int32, XI --> XI) is native(Str) { * } | 15:01 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Can't use unknown trait 'is native' in a sub declaration. at <tmp>:1 expecting any of: rw raw hidden-from-backtrace hidden-from-USAGE pure default DEPRECATED inlinable nodal … |
||
15:02
athenot_ left,
athenot joined,
skids joined
|
|||
araraloren | m: use NativeCall; subset XI of Code where { .signature ~~ :(int32)}; sub signal(int32, XI --> XI) is native(Str) { * } | 15:03 | |
camelia | ( no output ) | ||
Geth | doc: 4e34af1ced | (Lucas Buchala)++ (committed using GitHub Web editor) | doc/Language/traps.pod6 Trap: non-capturing, non-global matching in list context |
15:04 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
15:05
araraloren left
|
|||
lucasb | ^^ feel free to tune the wording, or change the examples | 15:05 | |
15:07
mcmillhj joined,
callyalater joined
|
|||
callyalater | s: Any, "lazy-if", \(1) | 15:08 | |
SourceBaby | callyalater, Sauce is at github.com/rakudo/rakudo/blob/27e8...y.pm6#L472 | ||
15:11
athenot left,
shareable6 left,
callyalater left,
margeas joined
15:13
athenot joined
15:14
markong left
15:17
markong joined
15:18
margeas left,
athenot left,
athenot joined,
wamba left
15:21
robertle left
|
|||
Geth | doc: coke assigned to JJ Issue Add tests for variants of normalized words github.com/perl6/doc/issues/2041 601c2bf4ee | (Will "Coke" Coleda)++ | 3 files |
15:23 | |
15:25
ChoHag left
|
|||
15:36
ChoHag joined,
athenot left
15:37
athenot joined
15:39
mcmillhj left
|
|||
Geth | doc: 46351b337b | (Will "Coke" Coleda)++ | xt/word-variants.t tests need to be executable |
15:40 | |
15:41
mcmillhj joined,
raynold joined
15:48
enheh_ left
15:49
st_elmo joined
15:53
MilkmanDan left
15:54
MilkmanDan joined
15:56
psychoslave left
15:57
psychoslave joined
15:59
abraxxa left
16:00
MilkmanDan left
16:02
MilkmanDan joined
16:03
Kaiepi left
16:04
Kaiepi joined
16:06
psychoslave left
16:08
shareable6 joined
16:11
Sgeo left,
Sgeo joined
16:12
psychoslave joined
16:14
psychoslave left,
psychoslave joined
16:17
enheh_ joined
16:26
psychoslave left
16:27
scimon left
16:29
enheh_ left
16:31
molaf joined
16:37
sftp left,
dakkar left
16:38
sftp joined
16:42
rindolf left
16:53
robertle joined
16:56
lookatme left,
lookatme joined
17:01
pilne joined
17:03
enheh_ joined
17:05
shareable6 left
17:06
mahafyi left
|
|||
mcmillhj | m: [^^] 1, 1, 1, 2, 2, 2; | 17:10 | |
camelia | ( no output ) | ||
mcmillhj | m: say [^^] 1, 1, 1, 2, 2, 2; | ||
camelia | Nil | ||
mcmillhj | ^ can someone explain why this returns Nil? | ||
raschipi | From docs.perl6.org/routine/$CIRCUMFLEX...EX_ACCENT: "Returns Nil when more than one argument is true." | 17:11 | |
17:11
rindolf joined
|
|||
raschipi | Because it's "EXCLUSIVE"-or. | 17:14 | |
docs.perl6.org/routine/$CIRCUMFLEX...LEX_ACCENT link above got mangled. | 17:15 | ||
mcmillhj | oh whoops, I was actually meaning to use docs.perl6.org/language/operators#infix_+^ | 17:16 | |
thanks raschipi | |||
raschipi | np | ||
17:18
domidumont joined
|
|||
buggable | New CPAN upload: Net-netent-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/Net::netent:...:ELIZABETH | 17:23 | |
17:27
ChoHag left
17:28
Sgeo_ joined
17:29
margeas joined
17:30
Sgeo left
17:31
markong left
17:40
ChoHag joined
17:41
margeas left
|
|||
Geth | doc: 96057564ab | (JJ Merelo)++ | xt/word-variants.t Changed it to check just pods Which is where it makes sense. Closes #2041 |
17:45 | |
17:51
mcmillhj left
17:56
mcmillhj joined
17:57
shareable6 joined,
ChanServ sets mode: +v shareable6
17:59
uzl joined
18:02
psychoslave joined
18:03
[particle] joined
18:05
[particle]1 left,
comborico1611 joined
18:06
psychoslave left
18:13
enheh_ left
18:18
lucasb left
18:20
ChoHag left
18:21
ChoHag joined
18:22
mcmillhj left
|
|||
buggable | New CPAN upload: Net-protoent-0.0.1.tar.gz by ELIZABETH modules.perl6.org/dist/Net::protoen...:ELIZABETH | 18:23 | |
18:25
sauvin left
18:29
uzl left
18:33
Qwerasd joined
|
|||
Geth | doc: fcefb9f22a | (JJ Merelo)++ | doc/Language/5to6-nutshell.pod6 Rewrites most of the section on references 5 to 6 This refs #1081. Leaves open because there might be some hanging internal references, and also for general review. |
18:34 | |
synopsebot | Link: doc.perl6.org/language/5to6-nutshell | ||
doc: 92e2d38d0d | (JJ Merelo)++ | doc/Language/5to6-nutshell.pod6 Fixes non-breaking space and some minor changes refs #1081 |
18:37 | ||
18:41
espadrine_ joined
18:44
shareable6 left
18:46
Success joined
|
|||
Success | can i do SIMD operations w/ perl6? | 18:46 | |
18:49
jmerelo left,
darutoko left,
robertle left
18:52
ChoHag left
|
|||
skids | Success: I see people ask whether PDL/Perl6 is available yet once in a while, and some hint they may start on it, but nothing seems to be in the ecosystem yet. | 18:54 | |
raschipi | Success: Maybe Nativecall a C/C++ library? | 19:00 | |
19:00
robertle joined
19:04
momo joined,
momo left
19:06
domidumont left
19:08
ChoHag joined
19:12
Kaiepi left
19:17
lookatme left,
lookatme joined
19:24
ChoHag left
19:31
[particle] left,
[particle]1 joined
19:34
enheh joined
19:38
shareable6 joined
19:48
wamba joined
|
|||
moritz | skids: it's a huge project | 19:53 | |
19:55
Khisanth left
20:07
Khisanth joined
20:08
Bucciarati joined
20:10
Ven`` joined
20:14
Ven`` left
20:16
Ven`` joined
20:17
Ven`` left
20:28
ChoHag joined
20:40
Ven`` joined
20:47
raschipi left
20:54
Ven`` left
20:59
ChoHag_ joined,
ChoHag left
21:07
ChoHag_ left
21:08
ChoHag joined
21:12
Kaiepi joined
21:32
st_elmo left
|
|||
Qwerasd | I'm getting too many positionals passed on a function even though it has a slurpy array for its arguments | 21:33 | |
skids | can you golf it down? | 21:41 | |
21:43
Ven`` joined
21:49
athenot left
21:50
athenot joined
|
|||
Qwerasd | Nvm fixed the issue | 21:50 | |
21:58
sftp left
22:00
enheh left,
enheh joined,
Qwerasd left
22:01
sftp joined
22:03
rindolf left
22:11
molaf left
22:34
mephinet left,
mephinet joined
22:43
Ven`` left
22:44
itaipu left
22:45
wamba left
22:52
|oLa| left
|
|||
Summertime | is there an opposite to next? as in `next if ! X` | 22:54 | |
22:54
athenot left
22:55
itaipu joined
|
|||
Summertime | oh is it just if | 22:55 | |
22:56
pmurias left
|
|||
Summertime | wait no that wouldn't work | 22:56 | |
context: perl6 -pe 'next if not s/"data: "//' | |||
wanting to skip every line that doesn't match the s///, instead of printing it unaffected | 22:57 | ||
MasterDuke | Summertime: couldn't you just do perl6 -ne 'say if s/"data: "//' instead? | 22:58 | |
Summertime | oh found `next unless X` | 23:00 | |
and yeah I could but then I need to work out if its say, gist, print, etc | |||
for the output I want x-x | 23:01 | ||
and it would need to be .say to pull the $_ in implicitly | 23:02 | ||
buggable | New CPAN upload: P5pack-0.0.7.tar.gz by ELIZABETH modules.perl6.org/dist/P5pack:cpan:ELIZABETH | 23:03 | |
23:04
itaipu left
23:24
espadrine_ left
|
|||
Geth | doc: 0fd6d6a0a6 | (Will "Coke" Coleda)++ | doc/Language/5to6-nutshell.pod6 whitespace |
23:35 | |
synopsebot | Link: doc.perl6.org/language/5to6-nutshell | ||
23:44
MasterDuke left
23:45
markong joined
23:52
w_richard_w joined,
wamba joined
|