00:01:19 | * | awsteele quit (Quit: Textual IRC Client: www.textualapp.com) |
00:04:57 | * | darkf joined #nim |
00:07:06 | * | dorei quit () |
00:08:22 | * | gokr quit (Quit: Leaving.) |
00:14:33 | * | Sentreen joined #nim |
00:14:57 | * | Sentreen quit (Client Quit) |
00:20:28 | * | darkf quit (Ping timeout: 250 seconds) |
00:25:16 | * | darkf joined #nim |
00:36:28 | Varriount | dyce_: There are Nim binaries for OpenWrt |
00:36:30 | Varriount | ? |
00:39:41 | * | zepolen joined #nim |
00:49:29 | * | miko__ quit (Ping timeout: 240 seconds) |
00:50:01 | * | yglukhov quit (Remote host closed the connection) |
00:50:34 | * | brson quit (Ping timeout: 240 seconds) |
00:53:00 | * | brson joined #nim |
00:53:40 | * | francisl joined #nim |
00:56:59 | * | jaco60 quit (Ping timeout: 240 seconds) |
00:57:44 | * | PMunch quit (Quit: leaving) |
01:02:26 | * | PMunch joined #nim |
01:06:29 | * | PMunch quit (Client Quit) |
01:12:07 | * | francisl quit (Quit: francisl) |
01:14:49 | * | PMunch joined #nim |
01:25:21 | * | PMunch quit (Quit: leaving) |
01:30:15 | * | PMunch joined #nim |
01:33:55 | * | PMunch quit (Client Quit) |
01:47:54 | * | Trustable quit (Quit: Leaving) |
01:50:28 | * | yglukhov joined #nim |
01:53:12 | * | Kingsquee quit (Read error: Connection reset by peer) |
01:54:33 | * | yglukhov quit (Ping timeout: 240 seconds) |
02:02:34 | * | Kingsquee joined #nim |
02:12:35 | * | Jesin quit (Quit: Leaving) |
02:20:42 | * | PMunch joined #nim |
02:23:36 | * | francisl joined #nim |
02:25:46 | * | Kingsquee quit (Remote host closed the connection) |
02:25:59 | * | Kingsquee joined #nim |
02:26:39 | * | PMunch quit (Quit: leaving) |
02:34:21 | * | francisl quit (Quit: francisl) |
02:50:20 | * | lxdong joined #nim |
02:51:53 | * | yglukhov joined #nim |
02:57:07 | * | yglukhov quit (Ping timeout: 248 seconds) |
02:58:41 | * | wicast quit (Remote host closed the connection) |
02:59:24 | * | brson quit (Quit: leaving) |
03:03:14 | * | desophos joined #nim |
03:44:27 | * | vendethiel joined #nim |
04:08:33 | * | vendethiel quit (Ping timeout: 240 seconds) |
04:19:04 | * | endragor joined #nim |
04:19:05 | * | endragor quit (Remote host closed the connection) |
04:19:35 | * | endragor joined #nim |
04:24:28 | * | wicast joined #nim |
04:24:43 | * | perturbation joined #nim |
04:28:07 | * | pregressive quit (Remote host closed the connection) |
04:35:54 | * | nameless912 joined #nim |
04:36:09 | nameless912 | So async is totally fucked for me and I have no idea why |
04:42:04 | * | brson joined #nim |
04:44:43 | * | endragor quit (Remote host closed the connection) |
04:48:40 | * | zepolen quit (Remote host closed the connection) |
04:51:39 | * | endragor joined #nim |
04:54:11 | * | yglukhov joined #nim |
04:58:40 | * | yglukhov quit (Ping timeout: 250 seconds) |
05:00:11 | * | nameless912 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
05:00:24 | * | nameless912 joined #nim |
05:01:59 | * | nameless912 quit (Client Quit) |
05:03:48 | * | lxdong quit (Ping timeout: 252 seconds) |
05:05:12 | * | francisl joined #nim |
05:42:12 | * | brson quit (Read error: Connection reset by peer) |
05:43:51 | * | OnwardEuler quit (Ping timeout: 244 seconds) |
05:47:12 | * | perturbation quit (Quit: Leaving) |
05:49:17 | * | zepolen joined #nim |
05:54:08 | * | zepolen quit (Ping timeout: 250 seconds) |
06:02:05 | * | nchambers quit (Remote host closed the connection) |
06:04:29 | * | lompik quit (Ping timeout: 240 seconds) |
06:11:51 | * | brokencode joined #nim |
06:12:04 | * | brokencode quit (Client Quit) |
06:20:31 | * | francisl quit (Quit: francisl) |
06:21:30 | * | girvo joined #nim |
06:32:51 | girvo | hey all |
06:35:23 | girvo | are there any good docs on unit-testing nim code? |
06:35:39 | girvo | I'm playing with the unittest module, and it's great, but I'm curious about mocking deps, etc. |
06:49:31 | girvo | Also, weird q: can I run a nim c --run and supress the compiler output? |
06:50:47 | * | zepolen joined #nim |
06:55:14 | * | zepolen quit (Ping timeout: 250 seconds) |
06:55:36 | * | yglukhov joined #nim |
06:59:13 | * | desophos quit (Quit: Leaving) |
07:00:33 | * | yglukhov quit (Ping timeout: 276 seconds) |
07:10:54 | flyx | girvo: you can use -w:off and --hints:off |
07:13:45 | flyx | Varriount: yeah, parsing YAML sure is a pain, but I think in terms of serialization,, it is a far better format than both XML and JSON, and it is also superior for config files, although that isn't a use case it was originally designed for |
07:15:54 | girvo | flyx: perfect thank you |
07:27:27 | * | gokr joined #nim |
07:28:35 | * | vendethiel joined #nim |
07:31:08 | * | miko__ joined #nim |
07:43:04 | * | toaoMgeorge joined #nim |
07:46:30 | * | wicast quit (Quit: Hermes - Material IRC Client - https://numixproject.org/) |
07:51:34 | * | zepolen joined #nim |
07:52:33 | * | endragor quit (Remote host closed the connection) |
07:55:54 | * | zepolen quit (Ping timeout: 250 seconds) |
07:58:01 | * | Ven joined #nim |
07:58:52 | * | Ven quit (Client Quit) |
07:58:58 | * | girvo quit (Quit: leaving) |
07:59:51 | * | Ven joined #nim |
08:01:36 | * | Ven_ joined #nim |
08:05:33 | * | Ven quit (Ping timeout: 276 seconds) |
08:06:51 | * | endragor joined #nim |
08:23:04 | * | vendethiel quit (Ping timeout: 240 seconds) |
08:23:27 | * | vendethiel joined #nim |
08:26:29 | * | alexsystemf quit (Ping timeout: 240 seconds) |
08:28:03 | * | alexsystemf joined #nim |
08:35:33 | * | zepolen joined #nim |
08:35:40 | * | gokr quit (Ping timeout: 252 seconds) |
08:35:49 | * | zepolen quit (Remote host closed the connection) |
08:38:43 | * | gokr joined #nim |
08:39:11 | * | yglukhov joined #nim |
08:43:22 | * | vendethiel quit (Ping timeout: 252 seconds) |
08:53:57 | * | zepolen joined #nim |
09:06:36 | * | Subspice joined #nim |
09:12:33 | * | Subspice left #nim (#nim) |
09:14:35 | * | jaco60 joined #nim |
09:15:04 | * | Arrrr joined #nim |
09:15:35 | * | zepolen quit (Remote host closed the connection) |
09:16:07 | * | vendethiel joined #nim |
09:16:13 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:18:41 | * | zepolen joined #nim |
09:32:37 | * | Ven joined #nim |
09:36:52 | * | vendethiel quit (Ping timeout: 244 seconds) |
10:16:26 | * | zepolen quit (Remote host closed the connection) |
10:18:07 | * | arnetheduck joined #nim |
10:19:15 | * | zepolen joined #nim |
10:27:26 | * | jaco60 quit (Quit: Leaving) |
10:27:47 | * | jaco60 joined #nim |
10:33:22 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:41:38 | * | zepolen quit (Remote host closed the connection) |
10:42:33 | * | zepolen joined #nim |
10:45:01 | * | zepolen quit (Remote host closed the connection) |
10:46:43 | * | zepolen joined #nim |
10:48:42 | * | zepolen quit (Remote host closed the connection) |
10:50:32 | * | zepolen joined #nim |
10:52:28 | * | zepolen quit (Remote host closed the connection) |
10:52:57 | * | zepolen joined #nim |
10:54:58 | * | zepolen quit (Remote host closed the connection) |
10:57:03 | * | zepolen joined #nim |
11:08:27 | * | vendethiel joined #nim |
11:15:11 | * | zepolen quit (Remote host closed the connection) |
11:21:52 | * | regtools joined #nim |
11:28:01 | * | zepolen joined #nim |
11:29:26 | * | Demon_Fox quit (Quit: Leaving) |
11:29:27 | * | vendethiel quit (Ping timeout: 244 seconds) |
11:29:46 | * | Ven joined #nim |
11:32:19 | * | endragor quit (Ping timeout: 248 seconds) |
11:37:46 | * | miko__ quit (Ping timeout: 250 seconds) |
11:45:02 | * | gokr1 joined #nim |
11:46:00 | * | gokr quit (Ping timeout: 250 seconds) |
11:48:59 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:55:09 | * | vendethiel joined #nim |
11:59:11 | federico3 | why am I getting an "illegal capture" error when passing a mutable argument to an async? |
12:00:46 | reactormonk | federico3, probably because the compiler can't prove you're not mutating the variable in the called thread |
12:00:56 | federico3 | I am |
12:04:21 | * | dmitry_p quit (Remote host closed the connection) |
12:18:26 | * | gokr joined #nim |
12:19:31 | * | vendethiel quit (Ping timeout: 252 seconds) |
12:22:03 | * | gokr1 quit (Ping timeout: 240 seconds) |
12:22:10 | * | zepolen quit (Remote host closed the connection) |
12:27:47 | * | PMunch joined #nim |
12:29:40 | * | ozra joined #nim |
12:29:43 | * | zepolen joined #nim |
12:52:49 | * | zepolen quit (Remote host closed the connection) |
12:53:01 | * | Ven_ joined #nim |
12:53:13 | * | zepolen joined #nim |
12:54:12 | * | toaoMgeorge quit (Ping timeout: 244 seconds) |
12:54:45 | * | Ven_ quit (Client Quit) |
12:55:49 | * | Ven quit (Ping timeout: 252 seconds) |
13:02:07 | * | Trustable joined #nim |
13:03:06 | * | OnwardEuler joined #nim |
13:07:23 | Araq | federico3: the compiler must be able to transform the arguments to the heap |
13:07:36 | Araq | think about it. a resumable function cannot keep anything on the stack. |
13:11:46 | * | toaoMgeorge joined #nim |
13:15:00 | * | Ven joined #nim |
13:18:08 | * | gokr drowned in papers on partial continuations last night... |
13:24:39 | * | Subspice joined #nim |
13:25:59 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:30:18 | * | Subspice left #nim (#nim) |
13:30:23 | * | Ven joined #nim |
13:35:34 | * | arnetheduck_ joined #nim |
13:35:42 | * | arnetheduck quit (Read error: Connection reset by peer) |
13:50:33 | * | arnetheduck joined #nim |
13:50:49 | * | arnetheduck_ quit (Read error: Connection reset by peer) |
13:51:56 | * | vendethiel joined #nim |
13:53:40 | * | ozra_ joined #nim |
13:56:29 | * | ozra quit (Ping timeout: 240 seconds) |
13:58:36 | * | lompik joined #nim |
13:58:50 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:06:12 | * | nchambers joined #nim |
14:12:40 | * | CcxCZ quit (Quit: b0rking mah hardwarez) |
14:13:34 | * | vendethiel quit (Ping timeout: 240 seconds) |
14:21:58 | * | darkf quit (Quit: Leaving) |
14:26:23 | * | zepolen quit (Remote host closed the connection) |
14:28:27 | * | zepolen joined #nim |
14:30:31 | r-ku | can someone explain why i get "\n not allowed in character literal"? i mean it fits into char, is weird |
14:30:58 | flyx | r-ku: it doesn't on Windows |
14:31:20 | flyx | on Windows, it will generate "\x0D\x0A" |
14:31:45 | flyx | if you want just a line feed, use '\x0A' |
14:32:08 | flyx | (or \l) |
14:32:11 | r-ku | oh. i dont think any other programming lang does it |
14:32:18 | r-ku | or am i mistaken? |
14:32:42 | * | Ven joined #nim |
14:37:26 | * | Ven quit (Client Quit) |
14:38:24 | flyx | in case of substitution for \n, I don't know of any other language. |
14:42:21 | r-ku | i bet there gonna be plenty of confused people why \r\n does not produce what they expect |
14:45:43 | * | Subspice joined #nim |
14:48:52 | * | francisl joined #nim |
14:50:21 | * | vendethiel joined #nim |
14:52:16 | flyx | that's the case for everything in a new language which is done differently from your previous language |
14:56:39 | * | Ven joined #nim |
15:02:19 | Arrrr | the new line char should be underlined in red |
15:03:13 | * | Trustable quit (Remote host closed the connection) |
15:04:49 | r-ku | well imho replacing ascii character meaning with different one is walking on the edge of blade. what could go wrong right? |
15:07:27 | * | GangstaCat quit (Quit: Leaving) |
15:12:03 | * | vendethiel quit (Ping timeout: 248 seconds) |
15:13:31 | * | GangstaCat joined #nim |
15:22:27 | * | Salewski joined #nim |
15:23:48 | Salewski | r-ku: oh. i dont think any other programming lang does it # It is very similar for Ruby, see http://stackoverflow.com/questions/2060253/how-to-do-a-newline-in-output |
15:25:05 | r-ku | yeah, actually python does something similar, but differently |
15:25:17 | r-ku | there \n is just one char, but io functions substitute it for \r\n if needed |
15:28:58 | Salewski | OK, it is not identical in Ruby, '\n' is indeed a string, but with no escape processing. But I think the problem is not nim, but the difference between OS where linefeed is one or two characters. I think Ruby converts "\n" to two characters for Windows. |
15:29:05 | Salewski | Bye... |
15:29:08 | * | Salewski quit () |
15:32:21 | * | vendethiel joined #nim |
15:36:21 | * | Jesin joined #nim |
15:39:45 | * | mat4 joined #nim |
15:39:47 | mat4 | hi all |
15:43:25 | Araq | hi mat4 |
15:44:08 | Araq | would you mind if f (x) becomes different from f(x)? I noticed your code is full of f (x) |
15:44:35 | * | francisl quit (Quit: francisl) |
15:46:50 | mat4 | no problem for me, only habit |
15:48:30 | * | zepolen quit (Remote host closed the connection) |
15:48:40 | mat4 | (and a quick search&replace operation) |
15:48:59 | mat4 | jowever, I can't speak for other programmers |
15:49:12 | mat4 | ^j=h |
15:51:50 | * | francisl joined #nim |
15:54:15 | * | zepolen joined #nim |
15:58:30 | def- | to me it seems like a reasonable change |
16:00:34 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:02:03 | federico3 | toSeq("TODO".lines()) works and lines("TODO").toSeq() does not. Is this expected? |
16:04:16 | * | arnetheduck quit (Ping timeout: 250 seconds) |
16:04:26 | Araq | federico3: yeah but it's something that I really need to fix |
16:04:37 | Araq | well actually |
16:04:50 | Araq | no that one is impossible to fix and so the manual mentions it |
16:05:01 | Araq | toSeq gets an untyped param |
16:05:20 | Araq | well hmmm perhaps |
16:07:03 | federico3 | it would be useful to be able to treat iterators as sequences e.g. "foo".lines.toSet (set, not seq) |
16:15:31 | * | vendethiel quit (Ping timeout: 248 seconds) |
16:19:09 | * | Demos joined #nim |
16:22:55 | Araq | federico3: yeah that one is actually a real bug I think. |
16:25:55 | * | pregressive joined #nim |
16:31:11 | * | Subspice left #nim (#nim) |
16:32:47 | * | def- quit (Ping timeout: 244 seconds) |
16:34:21 | * | def- joined #nim |
16:37:09 | vegansk | Araq, please look at http://forum.nim-lang.org/t/2073 . It's about Nim usage at our organization, I'm trying to promote the language and all was ok (3 small projects in production) untill this problem appeared :-( |
16:38:30 | * | francisl quit (Quit: francisl) |
16:40:32 | * | yglukhov quit (Ping timeout: 244 seconds) |
16:43:32 | * | gokr quit (Quit: Leaving.) |
16:45:33 | Arrrr | :( |
16:53:25 | * | rusua joined #nim |
16:58:43 | * | def- quit (Ping timeout: 248 seconds) |
17:00:36 | vegansk | Btw, it's not about the project described at forum, but there is another very very big legacy c++ application (~40MB sources size), written on vc++ 2003. And there is no chance to migrate it on another toolset. But Nim can use vc++ 2003. We have some unittests working with libraries from this project. And it' very cool. |
17:01:46 | vegansk | So I want to replace C++ without rewriting the application. What do you think about this idea? |
17:09:11 | * | vendethiel joined #nim |
17:12:05 | * | themagician_v joined #nim |
17:12:23 | * | def- joined #nim |
17:12:34 | * | Demos quit (Ping timeout: 244 seconds) |
17:13:17 | * | avsej_ joined #nim |
17:13:17 | * | avsej_ quit (Changing host) |
17:13:17 | * | avsej_ joined #nim |
17:14:11 | * | Matias joined #nim |
17:14:54 | * | allan0 joined #nim |
17:16:22 | * | apotheon_ joined #nim |
17:17:23 | * | BlaXpirit_ joined #nim |
17:18:00 | * | biscarch_ joined #nim |
17:18:10 | Araq | vegansk: I'm aware it's a crucial issue for you and I took a considerable amount of time to look at it and debug it |
17:18:33 | Araq | unfortunately not sucessful |
17:18:56 | Araq | however I think setupForeignThreadGC really SHOULD work with --tlsEmulation:on |
17:19:20 | Araq | which would be a viable workaround for you right? |
17:19:39 | * | vqrs_ joined #nim |
17:20:28 | * | mog_ joined #nim |
17:20:34 | * | thotypous quit (*.net *.split) |
17:20:34 | * | allan0_ quit (*.net *.split) |
17:20:35 | * | ekarlso- quit (*.net *.split) |
17:20:35 | * | Sornaensis quit (*.net *.split) |
17:20:35 | * | boopsiesisaway quit (*.net *.split) |
17:20:35 | * | vqrs quit (*.net *.split) |
17:20:35 | * | onionhammer quit (*.net *.split) |
17:20:36 | * | BlaXpirit quit (*.net *.split) |
17:20:36 | * | apotheon quit (*.net *.split) |
17:20:36 | * | mog quit (*.net *.split) |
17:20:36 | * | zielmicha quit (*.net *.split) |
17:20:36 | * | emery quit (*.net *.split) |
17:20:36 | * | avsej quit (*.net *.split) |
17:20:37 | * | OmIkRoNiXz quit (*.net *.split) |
17:20:37 | * | biscarch quit (*.net *.split) |
17:20:37 | * | themagician quit (*.net *.split) |
17:20:37 | * | lyro quit (*.net *.split) |
17:20:37 | * | rinukkusu quit (*.net *.split) |
17:20:37 | * | _stowa quit (*.net *.split) |
17:20:37 | * | mtj_ quit (*.net *.split) |
17:20:37 | * | Amrykid quit (*.net *.split) |
17:20:42 | * | BlaXpirit_ is now known as BlaXpirit |
17:20:42 | * | avsej_ is now known as avsej |
17:20:52 | * | mog_ is now known as mog |
17:20:53 | * | rinukkusu joined #nim |
17:21:25 | * | OmIkRoNiXz joined #nim |
17:22:46 | * | _stowa_ joined #nim |
17:24:00 | * | emery joined #nim |
17:24:21 | vegansk | Araq, I think that setupForeignThreadGC can't work using emulation, but maybe I'm wrong? It uses TLS variable as initialization guard at least, so how can it work without initialized emulation? Chicken or the egg problem |
17:25:19 | * | apotheon_ is now known as apotheon |
17:25:28 | vegansk | Araq, and thank you for participating! |
17:25:30 | * | Amrykid joined #nim |
17:25:54 | * | apotheon quit (Changing host) |
17:25:54 | * | apotheon joined #nim |
17:26:41 | * | onionhammer joined #nim |
17:27:03 | * | lyro joined #nim |
17:27:11 | * | mtj_ joined #nim |
17:27:26 | * | boopsiesisaway joined #nim |
17:27:33 | * | zielmicha joined #nim |
17:28:39 | federico3 | any Vim user? def- maybe? nim.vim needs some help |
17:28:50 | * | ekarlso- joined #nim |
17:32:21 | * | vendethiel quit (Ping timeout: 276 seconds) |
17:35:00 | * | rusua quit (Remote host closed the connection) |
17:35:19 | * | _stowa_ is now known as _stowa |
17:36:19 | * | Matias is now known as thotypous |
17:38:42 | * | kulelu88 joined #nim |
17:38:42 | * | kulelu88 quit (Changing host) |
17:38:42 | * | kulelu88 joined #nim |
17:39:38 | * | cyraxjoe quit (Remote host closed the connection) |
17:40:19 | * | cyraxjoe joined #nim |
17:43:58 | * | francisl joined #nim |
17:46:32 | mat4 | federico3: I'm a former Vim user which now uses Joe regulary (because of various reasons) |
17:48:25 | * | francisl quit (Client Quit) |
17:49:31 | * | yglukhov joined #nim |
17:52:34 | * | yglukhov quit (Remote host closed the connection) |
17:53:52 | * | [CBR]Unspoken quit (Ping timeout: 244 seconds) |
17:54:05 | * | sora joined #nim |
17:59:32 | vegansk | <federico3>, migrated on emacs because of scala and ensime. But evil-mode user :-) |
18:01:09 | * | shodan45 joined #nim |
18:05:56 | federico3 | mat4: are you using any Nim plugin for Joe? |
18:07:53 | mat4 | I have written a syntax highlighting file for Joe. Despice from that, the editor feratures basic IDE functionality though its macro support |
18:08:45 | mat4 | i is possible to run a debugger and the Nim compiler in different windows beside programming for example |
18:09:41 | * | brson joined #nim |
18:10:05 | mat4 | ^it |
18:11:56 | * | [CBR]Unspoken joined #nim |
18:13:03 | * | yglukhov joined #nim |
18:15:29 | * | lompik quit (Ping timeout: 240 seconds) |
18:17:09 | * | yglukhov quit (Ping timeout: 244 seconds) |
18:17:40 | mat4 | I use Joe mainly because of it Wordstar mode which includes block editing capability, reg expression support, tab space conversion and a lot more |
18:22:04 | * | rusua joined #nim |
18:23:59 | * | lompik joined #nim |
18:25:03 | * | rusua quit (Client Quit) |
18:27:15 | mat4 | so, no plugin needed |
18:28:23 | mat4 | (at least for me) |
18:28:43 | * | mat4 is now known as mat4-bbl |
18:31:20 | Araq | vegansk: can you elaborate on why tls is not initialized properly? |
18:31:34 | Araq | also: Did you try a different GCC version? |
18:33:32 | wuehlmaus | zizc |
18:33:35 | wuehlmaus | i |
18:36:20 | wuehlmaus | oh sorry, don't expect meaning :) |
18:47:38 | flyx | if I pass a stmt into a template and in that template define a variable, is it possible to access that variable from within the content, which will be inserted after the var declaration by the template? |
18:48:20 | ldlework | flyx: does .inject do that? |
18:48:59 | flyx | the manual says the symbol is automatically injected when I pass it as expr, which I do |
18:48:59 | flyx | but I don't seem to be able to access it anyway |
18:49:50 | flyx | ah, the template must be immediate |
18:50:22 | ldlework | flyx: there is no such thing as immediate templates |
18:50:26 | ldlework | they are deprecated |
18:50:48 | flyx | ldlework: but it works when I add the immediate pragma to the template |
18:50:58 | flyx | so is there a way to do it without the pragma? |
18:50:59 | ldlework | deprecated != removed already |
18:51:12 | ldlework | flyx: I thought that's what inject was for |
18:51:18 | ldlework | var x = 5 {.inject.} |
18:51:22 | ldlework | now x is a name outside the template |
18:52:40 | flyx | doesn't work for me without immediate |
18:53:02 | ldlework | Sorry no idea then |
18:57:46 | flyx | my code: https://gist.github.com/flyx/93d1279c9704cf0fedea |
18:59:23 | flyx | there's also an example in the manual that uses exactly this feature with the immediate pragma. if immediate is deprecated, it shouldn't be shown in the manual. |
19:01:56 | * | Matthias247 joined #nim |
19:04:09 | * | Vivek joined #nim |
19:06:42 | flyx | it does not even work with {.dirty.} |
19:11:54 | * | zepolen quit (Remote host closed the connection) |
19:12:34 | dom96 | flyx: If the compiler doesn't warn you about {.immediate.} being deprecated then it is not deprecated |
19:12:37 | dom96 | At least for now |
19:12:51 | flyx | it doesn't |
19:13:11 | dom96 | Go ahead and use it then :) |
19:15:19 | ldlework | dom96: when the author of the language makes sure to let you know they are on their way out every other time immediate macros are mentioned... |
19:15:54 | * | zepolen joined #nim |
19:15:55 | * | miko__ joined #nim |
19:16:14 | dom96 | ldlework: yes, but I have no idea what the alternative is. Until somebody suggests one flyx may as well use {.immediate.} templates. |
19:16:56 | ldlework | dom96: good point, the strength with which Araq spoke made me just assume you guys figured out how to unify them somehow |
19:18:52 | * | zepolen quit (Remote host closed the connection) |
19:33:25 | Araq | flyx: use 'untyped' instead of 'stmt' |
19:33:41 | Araq | and yeah, there is no need for .immediate once we cleaned it up a bit |
19:34:04 | flyx | Araq: thanks, that worked |
19:53:46 | * | NimBot joined #nim |
19:53:49 | * | boopsiesisaway quit (Ping timeout: 252 seconds) |
19:57:14 | * | UberLambda joined #nim |
20:03:47 | * | vendethiel joined #nim |
20:05:27 | * | PMunch quit (Quit: leaving) |
20:07:11 | * | PMunch joined #nim |
20:08:03 | * | boopsiesisaway joined #nim |
20:09:28 | * | Arrrr quit (Quit: WeeChat 1.2) |
20:20:44 | * | PMunch quit (Quit: leaving) |
20:21:16 | * | Demos joined #nim |
20:23:13 | * | PMunch joined #nim |
20:25:08 | * | Wildefyrr left #nim ("WeeChat 1.3") |
20:38:42 | * | yglukhov joined #nim |
20:39:03 | * | gokr joined #nim |
20:39:48 | * | PMunch quit (Quit: leaving) |
20:52:09 | * | zepolen joined #nim |
21:12:21 | * | MyMind joined #nim |
21:13:34 | * | Sembei quit (Ping timeout: 252 seconds) |
21:13:53 | * | jaco60 quit (Quit: Leaving) |
21:14:11 | * | jaco60 joined #nim |
21:19:05 | * | boopsiesisaway is now known as boopsies |
21:21:55 | * | zepolen quit (Remote host closed the connection) |
21:24:35 | * | zepolen joined #nim |
21:36:50 | * | zepolen quit (Remote host closed the connection) |
21:40:16 | * | zepolen joined #nim |
21:47:53 | * | boopsies is now known as boopsiesisaway |
21:50:19 | * | boopsiesisaway is now known as boopsies |
21:56:45 | * | UberLambda quit (Quit: GTG) |
22:02:03 | * | yglukhov quit (Read error: Connection reset by peer) |
22:04:08 | * | yglukhov joined #nim |
22:22:56 | * | Kingsquee joined #nim |
22:26:33 | * | filwit joined #nim |
22:34:58 | * | sora quit (Remote host closed the connection) |
22:38:33 | * | kulelu88 quit (Ping timeout: 240 seconds) |
22:46:09 | * | saml quit (Quit: Leaving) |
22:49:39 | * | kulelu88 joined #nim |
22:49:39 | * | kulelu88 quit (Changing host) |
22:49:39 | * | kulelu88 joined #nim |
23:01:57 | * | yglukhov_ joined #nim |
23:01:57 | * | yglukhov quit (Read error: Connection reset by peer) |
23:05:38 | * | boopsies is now known as boopsiesisaway |
23:11:39 | * | miko__ quit (Ping timeout: 276 seconds) |
23:12:54 | * | mahasamoot joined #nim |
23:13:24 | * | pregressive quit (Remote host closed the connection) |
23:13:29 | * | grumbly joined #nim |
23:21:37 | * | grumbly quit (Quit: Page closed) |
23:23:14 | * | miko__ joined #nim |
23:39:10 | * | gokr quit (Quit: Leaving.) |