🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
timotimo well, sometimes the specializer got unhappy with code in the mainline 01:04
Geth doc: 2e977ec163 | Tinmarino++ | doc/Language/objects.pod6
Object: Inheritance: Add parent direct call with $obj.Parent::method
07:36
doc: 11af5202e2 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/objects.pod6
Merge pull request #3270 from tinmarino/merge_super

Object: Inheritance: Add parent direct call with $obj.Parent::method
linkable6 Link: docs.raku.org/language/objects
Geth doc: f3af1a04f8 | (Stoned Elipot)++ | doc/Type/Any.pod6
Explicitly mention min/max/minmax()'s :by argument
07:37
doc: c9317ce382 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Any.pod6
Merge pull request #3269 from Raku/any-minmax-by

Explicitly mention min/max/minmax()'s :by argument
linkable6 Link: docs.raku.org/type/Any
Geth doc/buf-blob-list-return-type: 5105747581 | (Stoned Elipot)++ | 2 files
remove unneeded elaboration

  ... on Buf.list() and Blob.list() return value's type
07:48
Geth doc: 08b4a058ca | (Stoned Elipot)++ | 2 files
clarify Buf.list() and Blob.list() return value's type

As discussed in #3266
08:06
doc: 5105747581 | (Stoned Elipot)++ | 2 files
remove unneeded elaboration

  ... on Buf.list() and Blob.list() return value's type
linkable6 DOC#3266 [open]: github.com/Raku/doc/issues/3266 Buf.list() and Blob.list() return type
doc: f3c69b3344 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #3267 from Raku/buf-blob-list-return-type

clarify Buf.list() and Blob.list() return value's type
MasterDuke timotimo: right. jnthn had a similar thought about that nqp optimization of prefix + on lists, but it turned out not to be the problem there either 09:10
tbrowder .tell lizmat no notice from bot but my new module published yesterday on cpan is shown in modules list: Draw2D::Furniture 10:09
tellable6 tbrowder, I'll pass your message to lizmat
lizmat . 10:10
I saw it on twitter.com/raku_cpan_new, so no worries :-)
tbrowder++
tbrowder thnx 10:11
cpan-raku New module released to CPAN! Gnome::Glib (0.17.0.2) by 03MARTIMM 10:16
New module released to CPAN! Gnome::Gtk3 (0.26.2) by 03MARTIMM
New module released to CPAN! Gnome::Gio (0.4.1) by 03MARTIMM
New module released to CPAN! Draw2D::Furniture (1.0.0) by 03TBROWDER
New module released to CPAN! Gnome::N (0.17.1.3) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.17.0.1) by 03MARTIMM
New module released to CPAN! EventSource::Client (0.0.2) by 03JSTOWE
New module released to CPAN! Ujumla (0.0.1) by 03JSTOWE
New module released to CPAN! Tomty (0.0.9) by 03MELEZHIK
cpan-raku New module released to CPAN! P5caller (0.0.8) by 03ELIZABETH 14:03
New module released to CPAN! ObjectCache (0.0.3) by 03ELIZABETH
New module released to CPAN! Math::Libgsl::Matrix (0.1.2) by 03FRITH 14:04
New module released to CPAN! Math::Libgsl::Constants (0.0.4) by 03FRITH
New module released to CPAN! Termbox (0.0.1) by 03JJATRIA
New module released to CPAN! Lumberjack::Application (0.0.8) by 03JSTOWE
New module released to CPAN! Lumberjack (0.0.10) by 03JSTOWE 14:05
New module released to CPAN! Audio::Libshout (0.0.12) by 03JSTOWE
New module released to CPAN! PDF::Class (0.4.2) by 03WARRINGD
cpan-raku New module released to CPAN! Gnome::Gdk3 (0.15.3.1) by 03MARTIMM 14:05
New module released to CPAN! Gnome::Gtk3 (0.26.1) by 03MARTIMM
New module released to CPAN! Gnome::Gio (0.4.0) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.25.3.1) by 03MARTIMM
New module released to CPAN! Gnome::GObject (0.15.13) by 03MARTIMM 14:06
New module released to CPAN! Gnome::Gdk3 (0.15.3) by 03MARTIMM
New module released to CPAN! Gnome::N (0.15.8) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.25.3) by 03MARTIMM
New module released to CPAN! Gnome::N (0.16.0) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.16.1) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.16.0) by 03MARTIMM
New module released to CPAN! Gnome::GObject (0.15.14.2) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.26.0) by 03MARTIMM
New module released to CPAN! MessageStream (0.1.1) by 03MLDEVINE
New module released to CPAN! POSIX::getaddrinfo (0.1.2) by 03MLDEVINE 14:07
New module released to CPAN! KHPH (0.1.1) by 03MLDEVINE
New module released to CPAN! Async::Command (0.1.1) by 03MLDEVINE
New module released to CPAN! Sparrow6 (0.0.17) by 03MELEZHIK
New module released to CPAN! Sparrow6 (0.0.19) by 03MELEZHIK
New module released to CPAN! Sparrow6 (0.0.16) by 03MELEZHIK
daemon yeekes
the M's are busy
cpan-raku New module released to CPAN! Sparrow6 (0.0.18) by 03MELEZHIK
wildtrees using DBIish and the .prepare and .execute method, how do I pass in array for an insert in a postgres database? the documentation for DBIish doesn't have an example 17:00
rbt I was wondering that yesterday myself. 17:05
Specifically, it would be nice to be able to do: WHERE foo = ANY($1), and pass in an array for $1. 17:08
wildtrees I kind of just want to insert arrays for starters, the documentation is parse 17:11
rbt I don't see an example in the regression tests. 17:20
wildtrees rbt, found this after a small amount of digging, github.com/raku-community-modules/...le.pm6#L71 I have the arrays being created, but they have one value in them instead of the correct array 17:29
Geth doc: c2a234c730 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6
Add 'C' formatting code
18:08
linkable6 Link: docs.raku.org/language/pod
rypervenche This is probably a stupid question, but up until now I've been using Text::CSV to write a CSV file from an array of hashes. I'd like to change that to an array of objects, although I'm not sure how to do that or even if it's possible. I suppose I could manually create a CSV by simply doing a loop of the array's objects and have it it output the desires attributes into a delimited string. Does anyone 20:27
know of a better way to do this? Or if using objects is pointless here?
lizmat rypervenche: in Raku everything's an object... 20:30
rypervenche lizmat: I just thought it might be more efficient, as you said in your latest talk about how you should be using objects instead of hashes since they were currently faster. 20:31
guifa For most things yes, but you can always write a .Hash method for your object to create the format needed by Text::CSV 20:32
lizmat if you have a custom class, all you need is to add a .Str method to make it stringify
m: class A { multi method Str(A:D:) { "foo" } }; put A.new 20:33
camelia foo
lizmat the A:D: is to make sure that A.Str will fall back to the default stringification of type objects
rypervenche Ooooh, I'll do that then. Thank you. 20:35
Is there documentation for the the :D: thing anywhere? 20:37
guifa rypervenche: yes, lemme go look it up for you
basically :D = defined, :U = undefined (type)
But what lizmat++ was getting at is more than by using A: , you allow for fallbacks 20:38
lizmat and don't forget the multi :-)
guifa If you have an undefined A, it won’t match A:D, so it falls back to Mu, and specifically Mu:U if it makes a distinction (dunno if Mu does) 20:39
(Although you could specify an A:D and an A:U if you wanted)
lizmat m: class A { method Str() { "foo" } }; put A 20:41
camelia foo
lizmat m: class A { has $.a; method Str() { "foo: $!a" } }; put A 20:42
camelia Cannot look up attributes in a A type object
in method Str at <tmp> line 1
in block <unit> at <tmp> line 1
lizmat m: class A { has $.a = 42; method Str() { "foo: $!a" } }; put A.new
camelia foo: 42