00:03 timo left 00:04 timo joined 02:22 Geth joined 09:26 sp1983 joined 09:35 sp1983 left 11:19 finanalyst joined 12:23 spa1983 joined 12:25 spa1983 left 12:28 lizmat_ left, lizmat joined 12:52 [Tux] left 12:56 [Tux] joined
Geth rakudo/lizmat-26: 758ad65aa8 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: fix typos in error handling
13:54
lizmat ugexe: the tests are actually in the "if" module :-) 13:56
as to syntax: yes, I think it would be nice to be able to say something like:
use $condition ?? Foo !! Bar 13:57
and: use
use Foo if $condition;
use Bar unless $condition
but we have the "if" module pretty upstream not working under RakuAST 13:58
and fixing this in module land has so far not worked out other than maybe creating a slang, which felt wrong 13:59
afk&
14:53 sp1983 joined 14:59 sp1983 left 15:15 sp1983 joined 15:36 sp1983 left
ugexe Yeah but I think for a 10+ year old module that is not used at all or hardly used it isn’t a big deal to not support it. Certainly it shouldn’t dictate what the core syntax would be 17:17
The right syntax is important because it should also work for need, require, etc. and it doesn’t really need to be humanized either 17:18
Huffmanized rather 17:19
It’s quite out of place as an adverb as well as it has nothing to do with an identity 17:24
lizmat well, yes
"10+ year old module" true 17:25
"is not used at all or hardly" untrue, its failure e.g. breaks Crypt::Random, which in turn breaks 9 other distribution, amongst which is Cro
and then, who knows what's out there on DarkPan 17:27
ugexe I will write up my thoughts on why it’s wrong when I get back. If we follow this pattern then the core is going to get bloated with not well thought out syntax 17:28
lizmat fair enough meantime I'm going to keep looking in fixing the module for RakuAST, so at least we won't need people to change their code 17:33
Geth rakudo/main: d9166ef4cf | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/Raku/Actions.nqp
RakuAST: streamline module loading action a bit

DRYer and hopefully better readable
17:34
rakudo/lizmat-27: 86bb5fdfad | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: make sure all expressions are handled

By using the magic RakuAST::BeginTime.IMPL-BEGIN-TIME-EVALUATE method. Which should probably need to be abstracted into a method "execute" on RakuAST::Node.
18:40
20:20 JRaspass left, JRaspass joined 22:07 timo left 22:08 timo joined 22:24 finanalyst left 22:31 finanalyst joined 22:47 finanalyst left