11:24 jpn joined 11:33 jpn left 11:55 jpn joined 12:12 jpn left 12:13 jpn joined 12:35 spacekookie joined 12:42 abraxxa left 13:06 nebuchad` left 13:07 abraxxa joined, nebuchad` joined 13:22 user1729 joined 13:36 abraxxa1 joined 13:39 abraxxa left 13:52 ptc joined 13:58 haxxelotto left 14:14 haxxelotto joined 14:27 vlad joined 14:48 Alexander67 joined 14:57 user1729 left 15:06 ptc left 15:08 Alexander67 left 15:18 abraxxa1 left 15:37 jpn_ joined 15:39 jpn left 15:41 jpn_ left 15:55 simcop2387 left, perlbot left 16:01 perlbot joined, simcop2387 joined 16:16 avuserow left 16:17 avuserow joined 16:40 dakkar left 17:24 ptc joined 17:48 holyghost joined 17:57 jpn joined
holyghost Hi, I started on a D&D : Eye of the beholder game written in Raku, I just uploaded the first version (0.1.1), see for EyeofTheBeholder in zef 18:52
It's just a start for now
It's abandonware from 1991 except for the GBA version 18:57
Most likely I am just going to program the system, not the graphics fully
But there's room for that in other programs
librasteve holyghost: ++ 19:00
lizmat I'm afraid this is again vaporware 19:11
:-( 19:12
tbrowder m: sub f(:a(:$b) = 1) { say $a; say $b }; f 19:20
camelia ===SORRY!=== Error while compiling <tmp>
Variable '$a' is not declared. Perhaps you forgot a 'sub' if this was
intended to be part of a signature?
at <tmp>:1
------> sub f(:a(:$b) = 1) { say ⏏$a; say $b }; f
19:22 vlad left
tbrowder hm, it looks like defining an alias named arg negates being able to assign a default value. tell me that isn't true 😭 19:23
if it's possible i know lizmat can demo it 😄 19:25
lizmat m: sub f(:a(:$b) = 1) { say $b }; f 19:26
camelia 1
lizmat $a doesn't exist within the scope of the sub, it can just be used as a named argument 19:27
m: sub f(:a(:$b) = 1) { say $b }; f :a<foo>
camelia foo
tbrowder docs don't say explicitly, but i don't see an example, either
lizmat m: sub f(:a(:$b) = 1) { say $b }; f :b<foo>
camelia foo
lizmat :a(:$b) syntax means: allow both "a" and "b" as named argument, but store the result from either in $b 19:28
tbrowder oh, i see, thanks! that's fine since it doesn't affect the caller 19:30
lizmat indeed :-)
tbrowder i think docs do mention that way before the description--there's a lot of raku prose in that area 19:32
19:40 ptc left 19:59 haxxelotto left
Manifest0 lizmat, just a heads up, I opened a ticket against DBIish: github.com/raku-community-modules/...issues/236 20:46
20:56 merp left 21:00 merp joined 21:35 japhb left 21:39 japhb joined 22:06 haxxelotto joined 22:52 sena_kun left