| colemanx | I am getting an error, this class method is not found: github.com/dontlaugh/App-Kubedee/b...e.raku#L31 | 00:02 | |
| specifically "No such method 'from-args' for invocant of type 'App::Kubedee'" | 00:03 | ||
| here is my class... or what I'm hoping is a class github.com/dontlaugh/App-Kubedee/b...ee.rakumod | 00:04 | ||
| Does anyone know what I'm doing wrong? | |||
| gfldex | colemanx: did you try `is export`? | 00:33 | |
| colemanx | That doesn't work if I put if I do `unit class App::Kubedee is export;` | 00:34 | |
| .new works, so it seems like the class itself is visible from my script in bin/ | 00:36 | ||
| but of course you get a .new by default | |||
|
11:38
parv left
11:46
lizmat_ joined
11:47
TempIRCLogger left
11:55
lizmat_ left,
lizmat_ joined,
lizmat left,
gfldex left
11:56
Util left,
gfldex_ joined,
lizmat_ left,
lizmat joined
|
|||
| Hydrazer | is it possible to make a reverse polish notation operator with subroutine? for example ``` | 14:42 | |
| 324 43 $@% | |||
| ``` gives me `324 + 43` which would be `367` | |||
| is it possible to make a reverse polish notation operator with subroutine? for example ``` | |||
| 324 43 $@% | |||
| ``` gives me `324 div 43` which would be `7` | |||
| is it possible to make a reverse polish notation operator with subroutine? for example ``` | 14:47 | ||
| say 324 43 $@% | |||
| ``` gives me `324 div 43` which would be `7` | |||
| lizmat | m: sub rp(\a, \b, \op) { ::("&infix:<" ~ op ~ ">")(a,b) }; say rp 42, 137, "+" # the closest that comes to mind | 14:48 | |
| camelia | 179 | ||
| lakmatiol | as far as I can tell, this is impossible with a postfix operator, but you could make `rp <1 3 5 + ->` work for example | 14:52 | |
| lizmat | yup, you could :-) | 14:54 | |
|
18:38
[Coke] left
18:45
[Coke] joined
20:57
colemanx left
21:22
colemanx joined
22:11
[Coke] left
22:13
[Coke] joined
|
|||