This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
librasteve | fantastic- tx for the fb | 11:00 | |
suggest you raise an issue (or even a PR if you feel confident) on the repo that links to the example … even if the author does not resolve there will be breadcrumbs for others | 11:02 | ||
12:30
MasterDuke left
17:05
teatwo left,
teatwo joined
19:01
habere-et-disper joined
|
|||
habere-et-disper | m: say 1 mod 0 | 21:07 | |
camelia | Attempt to divide 1 by zero using div in block <unit> at <tmp> line 1 |
||
habere-et-disper | Using mod not div ? | ||
antononcube | @habere-et-disper Hi! I do not see you in IRC... | 21:09 | |
librasteve | habere-et-disper: here is the same in python... | 21:34 | |
>>> 1 % 0 Traceback (most recent call last): File "<stdin>", line 1, in <module> ZeroDivisionError: integer modulo by zero >>> | |||
not sure what you expect since modulo is divide by and then return the remainder | |||
;-) | 21:35 | ||
21:41
antononcube joined
|
|||
habere-et-disper | Was set in the wrong directioin as code had both div and mod so thought the div was the issue when the error message guided me there. | 21:44 | |
22:16
habere-et-disper left
22:17
antononcube left
22:30
MasterDuke joined
|