00:31:53 | FromDiscord | <DetermiedNim1> What's the purpose of using --cpu:nimvm --os:NimVm https://media.discordapp.net/attachments/371759389889003532/1384692058933170187/image0.jpg?ex=68535a79&is=685208f9&hm=c8da65f3b01bc25ae5cef55a27ea3f27164c85e2382ca1e1ed075f5312915a02& |
00:32:16 | FromDiscord | <DetermiedNim1> I tried looking up if there was like |
00:44:05 | FromDiscord | <DetermiedNim1> I get a "no implementation for dyncalls" error |
04:16:30 | * | rockcavera quit (Remote host closed the connection) |
04:53:16 | * | skippy8 joined #nim |
05:19:39 | * | nils` quit (Ping timeout: 252 seconds) |
06:15:05 | * | xet7 joined #nim |
07:01:44 | * | nils` joined #nim |
08:10:16 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
08:38:01 | FromDiscord | <TFed> how to merge to tables? |
08:38:06 | FromDiscord | <TFed> sent a code paste, see https://play.nim-lang.org/#pasty=iMMtpUBX |
08:38:14 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1384814396877836379): how to merge two tables? |
08:39:13 | FromDiscord | <TFed> i need to make a iterator that returns (key, value)? |
08:39:31 | FromDiscord | <TFed> so i can walk it in the list and add each element into first table |
08:43:11 | FromDiscord | <janakali> are you sure you want a generic? What should happen if both tables have the same key? |
08:44:14 | FromDiscord | <TFed> yes |
08:44:23 | FromDiscord | <TFed> it should overwrite keys |
08:44:36 | FromDiscord | <TFed> i will use it for merging |
08:44:45 | FromDiscord | <TFed> i will use it for merging tables |
08:45:10 | FromDiscord | <TFed> probably i will make it on my own |
08:45:24 | FromDiscord | <TFed> i have made the iterator |
08:45:32 | FromDiscord | <TFed> sent a code paste, see https://play.nim-lang.org/#pasty=aYxkxPoe |
08:51:48 | FromDiscord | <janakali> @TFed https://play.nim-lang.org/#pasty=NOjdQLfK |
08:52:54 | FromDiscord | <janakali> You don't need an iterator, it's already in stdlib |
08:53:38 | FromDiscord | <janakali> https://nim-lang.org/docs/tables.html#pairs.i%2CTable%5BA%2CB%5D |
08:54:22 | FromDiscord | <janakali> you don't need a custom iterator |
08:55:41 | FromDiscord | <TFed> thanks, i just was trying to reinvent the wheel.. |
08:56:24 | FromDiscord | <janakali> here's an "override" version: https://play.nim-lang.org/#pasty=IjmAGPUR |
09:01:02 | FromDiscord | <TFed> it works, thank you again😌 |
09:11:52 | * | derpydoo joined #nim |
09:21:11 | * | beholders_eye joined #nim |
09:27:21 | * | derpydoo quit (Remote host closed the connection) |
09:37:25 | * | beholders_eye quit (Ping timeout: 248 seconds) |
09:51:12 | * | xet7 quit (Remote host closed the connection) |
10:15:04 | * | SchweinDeBurg quit (Read error: Connection reset by peer) |
10:20:41 | * | SchweinDeBurg joined #nim |
10:23:09 | * | SchweinDeBurg quit (Read error: Connection reset by peer) |
10:26:01 | * | xet7 joined #nim |
10:27:22 | * | beholders_eye joined #nim |
10:28:54 | * | SchweinDeBurg joined #nim |
10:38:35 | * | derpydoo joined #nim |
10:41:58 | * | beholders_eye quit (Ping timeout: 272 seconds) |
11:03:28 | * | derpydoo quit (Quit: derpydoo) |
11:35:21 | * | jjido joined #nim |
11:50:58 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
12:12:07 | * | xet7 quit (Remote host closed the connection) |