| 00:05:35 | * | sdothum quit (Remote host closed the connection) |
| 00:09:42 | * | sdothum joined #nim |
| 00:10:24 | * | shanoaice quit (Quit: The Lounge - https://thelounge.chat) |
| 00:10:56 | * | shanoaice joined #nim |
| 00:24:40 | * | xet7 quit (Remote host closed the connection) |
| 00:24:47 | * | xet7_ joined #nim |
| 00:51:38 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 01:39:37 | * | SchweinD1 joined #nim |
| 02:25:26 | * | rockcavera joined #nim |
| 03:11:55 | * | rockcavera quit (Remote host closed the connection) |
| 06:58:05 | * | iwuvmika quit (Ping timeout: 266 seconds) |
| 07:12:42 | * | iwuvmika joined #nim |
| 10:28:23 | * | yeti quit (Quit: \\//_) |
| 10:29:34 | * | yeti joined #nim |
| 11:47:15 | * | xtr00 joined #nim |
| 11:49:46 | * | hygo joined #nim |
| 12:46:04 | * | rockcavera joined #nim |
| 12:54:02 | * | KawaiiSelbst quit (Read error: Connection reset by peer) |
| 12:54:09 | * | KawaiiSelbst_ joined #nim |
| 13:27:53 | * | xtr00 quit (Read error: Connection reset by peer) |
| 13:28:17 | * | xtr00 joined #nim |
| 14:26:41 | * | mal`` quit (Ping timeout: 253 seconds) |
| 14:26:41 | * | xtr00 quit (Read error: Connection reset by peer) |
| 14:27:21 | * | mal`` joined #nim |
| 14:27:51 | * | xtr00 joined #nim |
| 14:42:21 | * | sdothum quit (Remote host closed the connection) |
| 14:44:47 | * | sdothum joined #nim |
| 15:19:54 | * | KawaiiSelbst_ quit (Remote host closed the connection) |
| 15:20:40 | * | KawaiiSelbst joined #nim |
| 15:23:24 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 15:24:10 | * | KawaiiSelbst joined #nim |
| 15:27:30 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 15:28:23 | * | KawaiiSelbst joined #nim |
| 15:29:26 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 16:48:35 | * | Guest41 joined #nim |
| 16:52:27 | * | hygo quit (Quit: WeeChat 4.7.1) |
| 17:01:28 | FromDiscord | <b0rsuk> sent a code paste, see https://discordapp.com/channels/371759389889003530/371759389889003532/1568671730040442911 |
| 17:02:22 | * | sdothum quit (Remote host closed the connection) |
| 17:03:32 | FromDiscord | <b0rsuk> `runnableExamples:` is also not in the manual doc, not in tutorial1, tutorial2, tutorial3. |
| 17:04:42 | * | sdothum joined #nim |
| 17:15:23 | FromDiscord | <Laylie> if you make times.`+` a func, the compiler tells you it's because `zonedTimeFromTime' calls routine via pointer indirection` |
| 17:15:48 | FromDiscord | <Laylie> runnableExamples is declared in system and is a magic |
| 17:19:50 | * | Guest41 quit (Ping timeout: 254 seconds) |
| 17:33:20 | FromDiscord | <b0rsuk> So it's not worth trying to understand at my current level. |
| 17:51:54 | FromDiscord | <Laylie> er, it's declared in system.nim which is implicitly imported by all modules, and the `magic` pragma means it's implemented directly in the compiler. code inside runnableExamples is ignored except when generating docs, in which case it is compiled and run to ensure it works and included in the generated docs. |
| 17:55:36 | * | KawaiiSelbst joined #nim |
| 19:02:51 | * | oculux joined #nim |
| 19:06:08 | * | kick455 quit (Ping timeout: 257 seconds) |
| 20:02:17 | * | iwuvmika quit (Ping timeout: 243 seconds) |
| 20:09:55 | * | ftajhii quit (Remote host closed the connection) |
| 20:36:53 | * | ftajhii joined #nim |
| 20:45:49 | FromDiscord | <b0rsuk> Is there a shorter syntax to declare an array with these values? I know how do it with a set.↵`let arr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'X']`↵↵There's very convenient syntax for sets that lets me do `let s = {'0'..'9', 'X'}`. I tried converting one to a sequence with `@`, but I think sets are unordered... |
| 21:37:04 | FromDiscord | <b0rsuk> I also tried `arrayWith` from the system module, but I can't figure out how to use it. |
| 21:45:36 | FromDiscord | <gesee37> In reply to @b0rsuk "I also tried `arrayWith`": look at the module `sequtils` there is something like `toSeq` or `collect` |
| 22:21:08 | * | om3ga quit (Ping timeout: 242 seconds) |
| 22:31:35 | * | om3ga joined #nim |