šŸ¦‹ Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:05 reportable6 left, linkable6 left 00:07 reportable6 joined, linkable6 joined 01:07 quotable6 left, bisectable6 left, benchable6 left, coverable6 left, reportable6 left, unicodable6 left, tellable6 left, statisfiable6 left, evalable6 left, greppable6 left, bloatable6 left, notable6 left, sourceable6 left, releasable6 left, shareable6 left, linkable6 left, committable6 left, nativecallable6 left 01:08 bisectable6 joined, evalable6 joined, nativecallable6 joined, releasable6 joined, committable6 joined, quotable6 joined 01:09 shareable6 joined, notable6 joined, coverable6 joined, unicodable6 joined, bloatable6 joined, sourceable6 joined, benchable6 joined, tellable6 joined 01:10 statisfiable6 joined, reportable6 joined, greppable6 joined 01:11 linkable6 joined 02:11 statisfiable6 left, bisectable6 left, notable6 left, committable6 left, reportable6 left, tellable6 left, releasable6 left, sourceable6 left, greppable6 left, coverable6 left, shareable6 left, bloatable6 left, linkable6 left, benchable6 left, nativecallable6 left, quotable6 left, evalable6 left, unicodable6 left, sourceable6 joined, reportable6 joined, shareable6 joined 02:12 bisectable6 joined, coverable6 joined, unicodable6 joined, greppable6 joined, quotable6 joined, statisfiable6 joined, nativecallable6 joined, evalable6 joined, bloatable6 joined, linkable6 joined 02:13 committable6 joined, tellable6 joined 02:14 releasable6 joined, notable6 joined, benchable6 joined 02:36 uzl[m] left 02:51 uzl[m] joined
Geth Ā¦ doc: coke self-assigned Convert 1-file docs to epub with TOC github.com/Raku/doc/issues/1981 02:59
03:21 Guest35 left 03:30 frost joined 04:30 evalable6 left, linkable6 left, linkable6 joined 04:31 evalable6 joined 04:35 kaskal- joined 04:36 kaskal left 04:43 frost left 05:19 frost joined 05:40 Sgeo left 05:42 ocomporto joined 06:07 reportable6 left 06:08 reportable6 joined 06:24 jjido joined 06:27 abraxxa joined 06:31 abraxxa left 06:33 abraxxa joined 06:38 abraxxa left, abraxxa joined 07:26 mexen joined 07:27 jjido left 07:42 silug left 08:04 dakkar joined 08:35 sena_kun left 08:36 sena_kun joined 08:38 archenoth joined 08:42 archenoth left 09:00 archenoth joined 09:23 linkable6 left 09:24 linkable6 joined 10:24 greppable6 left, notable6 left, releasable6 left, shareable6 left, statisfiable6 left, linkable6 left, bloatable6 left, unicodable6 left, committable6 left, tellable6 left, reportable6 left, bisectable6 left, benchable6 left 10:25 shareable6 joined, notable6 joined, reportable6 joined, committable6 joined, releasable6 joined, linkable6 joined 10:26 greppable6 joined, benchable6 joined, tellable6 joined 10:27 bisectable6 joined, bloatable6 joined, unicodable6 joined, statisfiable6 joined 10:32 Xliff_ left 11:02 dogbert17 joined
Geth ecosystem: e1d9cd98d2 | (Elizabeth Mattijsen)++ | META.list
Freeze Test::Builder

While it is being moved to the zef ecosystem
11:09
11:12 wingfold joined 11:30 kueppo joined
kueppo HI everyone, I'm new to Raku, I was wondering if there's any roadmap on how to read the Raku doc because whenever I decide to read a section of it, the examples they use uses many unknown features and at sometimes I'm kinda stuck. 11:33
sorry for the stupid question. 11:34
lizmat kueppo: that's not a stupid question 11:39
is there a particular language you're coming from ? 11:40
kueppo from perl, I've been using perl for 1 years now 11:41
lizmat perhaps this can be helpful then: docs.raku.org/language/5to6-nutshell
kueppo but they are a lot of new features in raku that are somehow confusing
thanks for the links 11:42
lizmat probably from docs.raku.org/language/5to6-nutshell#Syntax onwards
kueppo question 11:44
I would like to learn the basics of this val:key<value> I'm seeing them on variables, subroutines, class, literals, operatorsĀ  etc and they are all confusing.
Nemokosch what is this?
kueppo val:key<value>, they called it pair literals and they sometimes appear in complex identifier. 11:45
and even on objects 11:46
like this Mu:D
11:47 jjido joined
lizmat well, everybody wants the colon :-) 11:47
11:48 abraxxa left
kueppo yeah, X) 11:48
lizmat in the context of Mu:D, the :D indicates a "must be defined" constraint on the type (Mu), and is sometimes also called a "type smiley" 11:51
other type smileys are :U (for must *not* be defined, or "undefined") and :_ (don't care, which is when you want to be explicit about not caring) 11:52
Nemokosch the type smiley is cute
lizmat foo<bar> is basically sugar coating for foo => "bar"
kueppo got it, thanks alot :) lizmat
Nemokosch I get :key<value> but what is that "val" in front of it?
lizmat oops, :foo<bar> of course :-) 11:54
kueppo that was a mistake, I was confusing :key<value> with complex identifiers.
lizmat well, you can haz it as an identifier
Nemokosch the colon pairs
lizmat e.g. infix ops are just subroutines with funny names:
Nemokosch infix:<+> 11:55
lizmat the "+" in "42 + 666" is just a sub called "infix:<+>"
m: say infix:<+>(42,66) # same as 42 + 666
camelia 108
lizmat m: say infix:<+>(42,66) # same as 42 + 66
camelia 108
kueppo now I seeĀ  :O 11:56
11:56 Nemokosch joined
Nemokosch m: dd &infix:<+>.WHAT 11:56
camelia Sub+{is-pure}+{Precedence}
lizmat the "is pure" is a hint for the optimizer, that the return value of any combination of arguments, is always the same 11:57
aka 1 + 1 is *always* 2
kueppo another question: the fact that everybody wants the colon is somehow confusing so I would like to get the underlying concept behind this colon thing.
lizmat the Precedence part is the precedence level that the operator has during parsing 11:58
Nemokosch is pure was new for me
lizmat kueppo: perhaps github.com/Raku/CCR/blob/main/Rema...roscopy.md is a good read
kueppo thanks again lizmat 11:59
lizmat I think there was also an advent post with more about the colon 12:00
Nemokosch oh yeah, it can be used for named function parameters as well 12:01
"can be" or this is the one way named function parameters are defined? 12:02
because I only know the one with the colon
lizmat well, the other is the fat arrow syntax
foo => 42
Nemokosch yes, when passing the argument 12:03
but what about at the definition?
12:03 Nemokosch left
lizmat ah, you mean as a parameter? then the colon syntax is the only one, yes 12:04
12:06 reportable6 left
Nemokosch sub foo($positonal-arg, :$named-arg) {} 12:06
sth like this
lizmat yeah, the :$foo syntax is the only way that I know of :-) 12:09
12:09 reportable6 joined
lizmat apart from somehow building a Signature object yourself and that somehow using that, but that gets into AST / RakuAST territory 12:09
Nemokosch gotcha 12:11
12:25 Sankalp left, Sankalp joined 12:44 kueppo left
lizmat clickbaits rakudoweekly.blog/2022/05/23/2022-21-math-like/ 12:57
13:02 jjido left 13:08 bigdata joined 13:20 Sankalp left, Sankalp joined, Sankalp left, Sankalp joined 14:01 wingfold left 14:04 Sgeo joined 14:14 frost left 14:30 silug joined 14:39 Guest35 joined 14:41 Xliff_ joined 15:41 linkable6 left, evalable6 left 15:44 linkable6 joined, evalable6 joined 16:11 kueppo joined
Geth ecosystem: 5cd09db821 | (Elizabeth Mattijsen)++ | META.list
Freeze Pod::TreeWalker

While it is being moved to the zef ecosystem
16:36
ecosystem: b604673852 | (Elizabeth Mattijsen)++ | META.list
Remove Subsets::IO

It now lives in the zef ecosystem
16:38
16:39 Manifest0 joined 16:44 dakkar left 16:46 mexen left 17:01 vrurg_ joined 17:03 vrurg left 17:15 jaguart joined 17:36 guifa left 17:40 morte_ joined 17:44 guifa joined 17:55 guifa left 17:56 guifa joined, guifa left 18:07 reportable6 left 18:10 reportable6 joined 18:28 sena_kun left
Geth ecosystem: 1e917445db | (Elizabeth Mattijsen)++ | META.list
Freeze Date::WorkdayCalendar

While it is being moved to the zef ecosystem
18:53
19:02 sena_kun joined, sena_kun left 19:03 sena_kun joined 19:09 morte_ left 19:21 morte_ joined 19:24 sena_kun left 19:30 sena_kun joined 19:38 jaguart left 19:43 morte_ left 19:51 sena_kun left 19:52 sena_kun joined 20:09 morte_ joined 20:17 guifa joined 20:18 aavlo4 joined, guifa left 20:19 guifa joined 20:26 aavlo4 left 20:27 kueppo left 20:34 kueppo joined 20:40 kueppo left 21:02 morte_` joined 21:05 morte_ left 21:15 kueppo joined 21:23 kueppo left 21:43 morte_` left 22:04 guifa left 22:11 jjido joined 22:22 jjido left 22:28 eseyman left 22:29 eseyman_ joined 22:31 discord-raku-bot left 22:32 discord-raku-bot joined 22:36 discord-raku-bot left, discord-raku-bot joined
Nemokosch hi 23:05
any idea why
my @hexa-chars <== sort <== (|('a'..'f'), |<o l i s t>); 23:06
parses as an open multiline string
23:36 linkable6 left, evalable6 left 23:37 linkable6 joined 23:39 evalable6 joined 23:45 leah2 left