| 00:00:11 | * | beholders_eye quit (Quit: WeeChat 4.7.2) |
| 00:23:35 | FromDiscord | <punch5799> feels a little jank but that could work! |
| 00:37:04 | FromDiscord | <punch5799> hmmm that could be a solution, but I'm a little reluctant to do that to circumvent semantics. |
| 02:10:47 | FromDiscord | <litlighilit> {.experimental\: "codeReordering".}https://nim-lang.org/docs/manual_experimental.html#code-reordering↵(@fridge777) |
| 02:14:14 | FromDiscord | <litlighilit> Another approach is to implement other part in modules and import them in main module↵(@fridge777) |
| 02:48:21 | * | ftajhii joined #nim |
| 02:51:42 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 02:56:22 | * | SchweinDeBurg joined #nim |
| 03:31:07 | * | rockcavera quit (Remote host closed the connection) |
| 08:38:33 | FromDiscord | <fridge777> Thank you! |
| 08:38:47 | FromDiscord | <fridge777> In reply to @punch5799 "hmmm that could be": What about operator overloading? |
| 09:28:41 | * | xet7 joined #nim |
| 09:39:48 | FromDiscord | <punch5799> how do you mean? |
| 10:10:47 | FromDiscord | <fridge777> If you define your datatype and overload the plus operator to call a function that includes the modulo operation already |
| 10:33:30 | Amun-Ra | §fridge777 | you should be able to turn overflow checks off with compiler options at least |
| 10:33:33 | Amun-Ra | -d=danger |
| 10:33:51 | Amun-Ra | that's an option for sloppy programmers |
| 11:00:20 | FromDiscord | <litlighilit> just --overflowChecks\:off↵is enough.-d\:danger turns off many other checks↵(<@709044657232936960_=41mun-=52a=5b=49=52=43=5d>) |
| 11:07:07 | FromDiscord | <litlighilit> sent a long message, see https://pasty.ee/jlyJixbK |
| 11:07:42 | FromDiscord | <litlighilit> sent a code paste, see https://play.nim-lang.org/#pasty=lsBVUDlr |
| 11:09:37 | FromDiscord | <litlighilit> sent a code paste, see https://play.nim-lang.org/#pasty=PFtOVobK |
| 11:11:31 | FromDiscord | <litlighilit> sent a code paste, see https://play.nim-lang.org/#pasty=eGKJNEEs |
| 11:13:34 | FromDiscord | <litlighilit> er, but this doesn't work for custom int type like `range[0..512]` |
| 12:11:02 | * | beholders_eye joined #nim |
| 13:00:32 | FromDiscord | <janakali> sent a code paste, see https://play.nim-lang.org/#pasty=tTHuKKdU |
| 13:20:34 | * | beholders_eye quit (Ping timeout: 260 seconds) |
| 13:35:00 | * | ehmry joined #nim |
| 13:53:40 | * | xet7 quit (Remote host closed the connection) |
| 14:01:44 | * | beholders_eye joined #nim |