🦋 Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
perlmaros lizmat/ugexe: looks like rakudo is only trying to write precomp to the same directory where the code resides - where it does not have write permissions in my case. it could write to ~/.precomp, though - but this directory isn't used. Is there any way to tell rakudo which directory to use? 04:15
CIAvash Raycat|Home: your code works, but on scalar variables. If you want fixed array, you can write `my Square @board[9]` 05:15
moon-child m: class Square {}; subset Board of Array[Square] where .elems > 2; my Board $x = [Square.new, Square.new, Square.new] 05:42
camelia Type check failed in assignment to $x; expected Board but got Array ([Square.new, Square....)
in block <unit> at <tmp> line 1
moon-child (see also redd.it/o8iddx for more discussion) 05:50
(side-note: it would be nice if there were a variant of 'where' that could apply to containers rather than their contents. E.G. my @x where' List) 05:51
CIAvash also see github.com/Raku/doc/issues/2368 There are different behaviors for `where` clause used in assignment, binding and parameter. 06:02
CIAvash So currently `sub f (@a where Board){...}` works. Also `my (*@a where Board5) := [<your array>]`, but not `my @a where Board5 := [<your array>]` 06:19
* So currently `sub f (@a where Board){...}` works. Also `my (*@a where Board) := [<your array>]`, but not `my @a where Board := [<your array>]`
Geth doc/master: 4 commits pushed by (JJ Merelo)++ 07:54
ugexe perlmaros: i guess you could pass an empty directory that has write permissions as the first include (i.e. `-I ./empty-dir -I./dir-with-source` or RAKULIB="./empty-dir,./dir-with-source") 13:29
SmokeMachine .tell patrickb could you confirm if github.com/FCO/Red/issues/487 was fixed, please? 16:11
tellable6 SmokeMachine, I'll pass your message to patrickb
Geth doc: 3197b934f7 | Coke++ | doc/Language/modules.pod6
fix typo
16:25
linkable6 Link: docs.raku.org/language/modules
rassoc what was that about? 18:54
Bobob Hello world 21:13
Just started my Raku journey for the summer time, the language is very compelling
El_Che It's fun 21:14
Bobob super expressive and loose in ways, I was messing around with Golang and I felt really constrained
El_Che I probably like Raku and Go the most atm 21:15
they are very different and that's a good thing
Bobob Go was really my introduction to concurrency 21:16
goroutines are neat
El_Che yeah and channels
stuff you also find in raku :)
Bobob yeah raku is really versatile 21:18
thanks for the convo, cheers
El_Che have fun 21:19