| 00:17:33 | * | rockcavera quit (Remote host closed the connection) |
| 00:41:07 | * | KawaiiSelbst quit (Read error: Connection reset by peer) |
| 00:42:07 | * | rockcavera joined #nim |
| 00:42:13 | * | KawaiiSelbst joined #nim |
| 02:46:46 | FromDiscord | <zkopt_> In reply to @litlighilit "just use \`const\` or": you can't use table for const |
| 02:48:08 | FromDiscord | <zkopt_> var with {.compileTime.} paragma is right answer↵↵I solve that problem with var and {.compileTime.} paragma |
| 02:49:02 | * | rockcavera quit (Remote host closed the connection) |
| 04:16:45 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 04:28:51 | * | deavmi quit (Read error: Connection reset by peer) |
| 04:37:21 | * | deavmi joined #nim |
| 05:01:17 | * | SchweinDeBurg joined #nim |
| 05:03:10 | FromDiscord | <Tóth Alfréd> I think it's more like a mix of Pascal and Rust with the syntax being very similar to Python↵(@xenthial) |
| 05:48:19 | FromDiscord | <amun0666> In reply to @zkopt_ "var with {.compileTime.} paragma": You can use table for const |
| 05:48:20 | FromDiscord | <amun0666> . |
| 05:51:34 | FromDiscord | <amun0666> sent a code paste, see https://paste.rs/yoeDR |
| 06:13:28 | * | sdothum quit (Ping timeout: 259 seconds) |
| 06:26:31 | * | sdothum joined #nim |
| 06:41:39 | FromDiscord | <Laylie> no code, no error message, no description of what they're trying to do, very difficult to help |
| 06:43:27 | FromDiscord | <b0rsuk> In reply to @Amun-Ra "in what sense?": `Nim = 1/2 C`, therefore `2 Nim = C`.↵People talk a lot about C in this server. Long ago I finished C exercises bundled with my copy of `C Programming Language` (K&R), but I don't think it's enough to make me a better Nim programmer. |
| 06:45:21 | FromDiscord | <amun0666> And `2 == C / Nim` |
| 07:45:31 | * | hygo joined #nim |
| 07:57:17 | FromDiscord | <b0rsuk> This message confused me for several minutes.↵It says `for split`, but it's actually getting the correct type (a string) for the split function. What it really means is the function should return a string. And if I put a dollar in front of the line, I get no error (function logic is incomplete though). https://media.discordapp.net/attachments/371759389889003532/1547878685707866153/but_expected.png?ex=6aa505dc&is=6aa3b45c&hm=1b00568470b |
| 07:58:09 | FromDiscord | <b0rsuk> No, it's getting `seq[string]` from `split`. |