<< 09-07-2017 >>

00:05:12*Wombah quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
00:10:43dom96hrm, I'm not sure if that's correct.
00:11:01dom96Yeah, I don't think you can import relative to the main module.
00:12:35dom96Well, I think Reimer is only talking about the module you are compiling.
00:12:47dom96You can't import relative to the main module from a submodule.
00:38:22*skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…)
00:38:47*skrylar joined #nim
00:49:18*skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…)
00:58:11*v17d quit (Ping timeout: 255 seconds)
01:02:09*onionhammer quit (Quit: WeeChat 1.0.1)
01:02:23*onionhammer joined #nim
01:14:17*yglukhov joined #nim
01:19:10*yglukhov quit (Ping timeout: 276 seconds)
01:30:42*chemist69 quit (Ping timeout: 255 seconds)
01:44:43*chemist69 joined #nim
01:53:21*ludocode quit (Disconnected by services)
01:53:22*ludocode_ joined #nim
02:11:35*Jesin quit (Ping timeout: 240 seconds)
02:16:10*yglukhov joined #nim
02:20:36*yglukhov quit (Ping timeout: 260 seconds)
03:19:22*vendethiel joined #nim
03:30:25subsetparkI'm trying to do some very simple async code without using the whole {.async.} system
03:30:49subsetparkI have two calls that return Future[string]s from making asyncHttpClient requests
03:31:22subsetparkI then try to call procs that take strings on the result of waitFor() on each value
03:31:40subsetparkBut that produces a massive async error chain with SslError at the bottom
03:32:27subsetparkThose same calls were working fine when it was a regular httpClient
03:34:19subsetparkHm, and now it's just hanging at waitFor... what else do I have to do?
03:42:58*Serenitor joined #nim
03:45:52Serenitorcan you canfirm that there's no partial module exporting?
03:45:52Serenitorlike when I do
03:45:53Serenitorfrom strutils import split
03:45:53Serenitorexport strutils
03:45:53Serenitorthe place where that code is imported gets the entire strutils module... desired behavior would be split procs only
03:46:10*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
03:50:41FromGitter<ephja> "export strutils.split"?
03:52:34FromGitter<ephja> in other words, yes it's possible to export selectively
03:54:12*Jesin joined #nim
04:08:22Serenitorah, right. thanks! though it won't work for me with "except" though..
04:08:39Serenitortrying to do pretty much the exact same thing as shown in this example https://nim-lang.org/docs/macros.html#statements-export-statement
04:10:23Serenitori am getting an ambiguous call error
04:17:57*yglukhov joined #nim
04:19:40*pilne joined #nim
04:22:43*yglukhov quit (Ping timeout: 268 seconds)
04:25:37*vendethiel quit (Ping timeout: 248 seconds)
04:36:39Araqsubsetpark: use 'await' instead of 'waitFor' perhaps?
04:40:34*sz0 quit (Quit: Connection closed for inactivity)
04:47:07*salewski joined #nim
04:48:46salewskizacharycarter, you wrote: template bitCheck(a, b: untyped): bool = (a) and (1 shl (b))
04:49:54salewskiI think that is fine, I think I have used expressions like that too. Maybe a inline proc is sufficient.
04:50:24salewskizacharycarter, your wrote: but I'm not sure how to construct a bitset
04:51:15salewskiI think in Nim we have not the term BITSET as in Oberon, only set.
04:51:46Araqtemplate bitCheck(a, b: untyped): bool = (a and (1 shl b)) != 0
04:52:01Araqno need to put the parameters in (), Nim is not C, Nim understands ASTs
04:52:49salewskiI have not done much with this sets much, but I have an untested example in https://forum.nim-lang.org/t/3032
04:53:40salewskiAraq, you seems never sleeping...
04:54:14Araqdifferent timezone, it's noon here :P
04:55:02salewskiThat "no need to put the parameters in ()" is important, it should be at prominent places.
04:55:29salewskiI have seen a few templates with outer (), so I was in doubt sometimes...
04:55:58Araqwell c2nim generates there cause it's stupid and so people can get the wrong idea
04:57:33salewskiAraq, have you heard something about dom96 concerning our gintro install questions?
04:58:06salewskiOf course it is not too urgent, but it would be good to know of current state.
04:58:43salewskiDom96 seems to live currently in a very diffeent time zone than I.
04:59:00Araqoh sorry, forgot to ask him. we talked yesterday
04:59:13salewskiThanks, bye.
04:59:48*salewski quit (Quit: WeeChat 1.4)
05:00:12*Vi- joined #nim
05:26:46FromGitter<zacharycarter> thanks Araq
05:38:43*Trustable joined #nim
05:46:03*pilne quit (Quit: Quitting!)
05:59:43*Vi- quit (Ping timeout: 260 seconds)
06:01:31*martinium joined #nim
06:02:12*martinium quit (Quit: WeeChat 1.9)
06:02:44*Serenitor quit (Read error: Connection reset by peer)
06:16:03*tankfeeder joined #nim
06:19:46*yglukhov joined #nim
06:24:05*yglukhov quit (Ping timeout: 240 seconds)
06:45:54*tankfeeder quit (Quit: Leaving)
06:48:30*Trustable quit (Remote host closed the connection)
07:18:37FromGitter<zacharycarter> and salewski
07:21:31*yglukhov joined #nim
07:23:37FromGitter<mratsim> I’m looking for example on how people used concepts/V-table to replace inheritance or implement interfaces. So far I’ve found that (RFC for IO, replacing streams): https://github.com/nim-lang/Nim/pull/5970. Does someone have other examples?
07:25:35*yglukhov quit (Ping timeout: 240 seconds)
07:44:48*chemist69 quit (Ping timeout: 240 seconds)
07:47:27*chemist69 joined #nim
08:13:06*FromGitter quit (Remote host closed the connection)
08:13:06*oprypin quit (Quit: Bye)
08:13:21*FromGitter joined #nim
08:13:28*oprypin joined #nim
08:40:11*yglukhov joined #nim
08:41:56*rokups joined #nim
08:45:21*yglukhov quit (Remote host closed the connection)
08:52:49*arnetheduck joined #nim
08:55:19*Tiberium joined #nim
08:59:31FromGitter<mratsim> Replying to myself. The documentation about VTable was released before the actual code :O
09:07:33*Arrrr joined #nim
09:43:38*Matthias247 joined #nim
09:54:19*v17d joined #nim
09:55:08*yglukhov joined #nim
10:07:29*yglukhov quit (Remote host closed the connection)
10:10:58*yglukhov joined #nim
10:11:23*yglukhov quit (Remote host closed the connection)
10:15:58*yglukhov joined #nim
10:26:30*nsf joined #nim
10:34:38*yglukhov quit (Remote host closed the connection)
10:36:49*planhths joined #nim
10:40:33*Sentreen quit (Ping timeout: 248 seconds)
10:41:12*couven92 joined #nim
10:54:37*Sentreen joined #nim
11:00:43*arnetheduck quit (Ping timeout: 260 seconds)
11:05:36*Snircle joined #nim
11:09:06*Arrrr quit (Quit: Leaving.)
11:09:25*skrylar joined #nim
11:09:52skrylarmorning folks
11:10:50couven92morning skrylar :)
11:18:28*yglukhov joined #nim
11:19:04FromGitter<mratsim> hey skrylar
11:24:09federico3best way to convert an ipaddr between text and bytes?
11:27:21federico3parseIpAddress provides a 4-byte array
11:34:58skrylaris that question rhetorical
11:37:50*yglukhov quit (Remote host closed the connection)
11:42:15*dddddd joined #nim
11:42:27federico3nope
11:45:08*yglukhov joined #nim
11:47:15skrylarin that case, string to IP should possibly go to a tuple or an int. probably a 'distinct uint32', while going from that to a string is just a case of unpacking each byte, casting it to a string and concatting them with the dots
11:48:21federico3I need a string of bytes
11:48:39skrylar(although there probably isn't a penalty to using a distinct array of four bytes instead of a uint32, either way as long as you are enlisting the type system to identify the IPs :/)
11:57:26Tiberiumguys, as I think it isn't possible to make GUI for async application?
11:57:50TiberiumNiGui looks promising, but it's synchronous
11:59:22TiberiumI want both gui and async app written in Nim
11:59:28TiberiumI already have an async app
12:00:54*tankfeeder joined #nim
12:06:02*yglukhov quit (Remote host closed the connection)
12:06:34*yglukhov joined #nim
12:09:35*Sentreen quit (Ping timeout: 240 seconds)
12:09:48*tankfeeder_ joined #nim
12:11:13*yglukhov quit (Ping timeout: 248 seconds)
12:17:59Tiberiumoh wait it seems I can do that with NiGui
12:18:05Tiberiumbut it requires modifying NiGui source code
12:18:40*yglukhov joined #nim
12:20:10Tiberiumah I'm noob
12:20:11Tiberiumthere's timers
12:22:22*Sentreen joined #nim
12:28:42*mosORadi joined #nim
12:29:51Tiberiumor not..
12:30:07AraqTiberium: I have some async event loop for libui
12:30:19TiberiumAraq, really?
12:30:52Araqhttps://github.com/nim-lang/Nim/blob/devel/tools/downloader.nim#L123
12:31:19Araqwell ok, it's a "polling" loop but there is little else you can do with external UI libs
12:31:25Araqthey all work this way
12:34:36TiberiumI'm trying to do the same with timers currently
12:35:12*skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…)
12:35:47Tiberiumyeah, it works too
12:35:51Tiberiumevery 50ms calling pool(1)
12:35:56Tiberium*poll
12:38:27Tiberiumbut I think this would affect my async app performance
12:39:41TiberiumAraq, thanks anyway!
12:44:19Araqit will affect performance but as I said, there is little you can do. maybe run the UI in a different thread
12:45:39TiberiumAraq, also, can I somehow export variable which is declared inside of "when" statement?
12:47:57Araqwhen x: var v*: int
12:48:01Araqwhere is the problem?
12:48:08Araqwhy wouldn't you?
12:55:33Tiberiumohh, because of recursive module import (e.g. module imports itself) nimsuggest just ate ALL my memory
12:55:47Tiberiumneed to be more careful while writing recursive imports :)
12:57:15*azur_kind joined #nim
12:57:54*tankfeeder_ quit (Quit: Leaving)
13:10:19*azur_kind quit (Read error: Connection reset by peer)
13:23:48*therubi joined #nim
13:28:46*salewski joined #nim
13:29:52salewskiAgain someone who tries very hard to avoid unqualified imports:
13:29:58salewskihttps://www.reddit.com/r/nim/comments/6lyjto/help_with_neo_library_importing/
13:30:16salewskiAnd makes his life difficult with that.
13:30:54*therubi quit (Read error: Connection reset by peer)
13:31:02salewskiMaybe someone should add a section to FAQ about that. We had discussion in forum about it,
13:31:42salewskiand most peole seems to agree that unqualified import is fine in Nim, but newcommers will nor see that discussion.
13:32:39*salewski quit (Client Quit)
13:37:09FromGitter<barcharcraz> yeah the key is that nim has types and overloading
13:37:15FromGitter<barcharcraz> so unqual is kinda what you want
13:37:23FromGitter<barcharcraz> and will never really result in "interesting" behavior
13:37:43FromGitter<barcharcraz> geez I have gotten in arguments about this so many times
13:38:01FromGitter<barcharcraz> see also: c++ programmers who hate using namespace ... in implementation files
13:38:42FromGitter<barcharcraz> but like idk, sometimes it's hard since nim *looks* so much like python yet has such different semantics
13:40:48FromGitter<barcharcraz> also I'd like to thank whoever is responsible for the recent nimsuggest improvments
13:46:22AraqI think that's me :-)
13:46:50*dddddd quit (Read error: Connection reset by peer)
13:47:27FromGitter<barcharcraz> thanks! makes it better than almost any (actually all that I've used) c++ ide tool
13:49:10*dddddd joined #nim
13:52:04FromGitter<barcharcraz> btw I suspect that that boot error with msvc is on microsoft. I should try with an older msvc, but it works when using clang as the frontent
13:52:07FromGitter<barcharcraz> *frontend
13:52:15FromGitter<barcharcraz> in msvc bug-for-bug compatibility mode
13:52:25FromGitter<barcharcraz> and telling nim that clang-cl is msvc
13:53:17Tiberiumalso, is it possible to statically link all dlls in one binary on windows and on linux?
13:53:34Tiberium.so files on linux (I'm asking about gtk3) and openssl dlls in windows
13:53:38FromGitter<mratsim> @salewski I’ll pass your word
13:53:53FromGitter<barcharcraz> it is. I forget if you need to override all dynlibs or if you can use a wildcard
13:54:20FromGitter<barcharcraz> keep in mind gtk and openssl are really hard to build on windows and you probably will need multiple builds since you can't static link multiple c++/c runtimes
13:54:25Tiberiumnooo
13:54:28FromGitter<barcharcraz> (I'm working on it)
13:54:32TiberiumNim has prebuilt openssl dlls
13:54:35Tiberiumand gtk3 only for linux
13:54:43FromGitter<barcharcraz> trying to write recipies to build openssl and gtk in nim
13:54:43Tiberiummy app uses gui framework which uses win32 on windows
13:55:10FromGitter<barcharcraz> so you use --overrideDynlib:xxx --link:xxx.lib
13:55:48FromGitter<barcharcraz> note that nim does not link in import libraries for dlls, so to see which dlls are loaded you need to read the C code (just grep for dlopen / LoadLibrary)
13:55:56FromGitter<barcharcraz> or just look at loaded dlls in a debugger
13:56:16FromGitter<barcharcraz> also msvcrt.dll will always be linked by gcc when building for the mingw targets
13:56:18FromGitter<barcharcraz> afaik
13:56:35Tiberiumi can also use vcc on windows
13:57:00Tiberiumbut I think it would have even more dependencies :)
13:57:02FromGitter<barcharcraz> yeah vcc seems to only link to kernel32.dll by default (and you can't not link to kernel32, it's special)
13:57:10FromGitter<barcharcraz> I mean not really
13:57:24FromGitter<barcharcraz> in both cases you need a compiler, a linker, and the windows headers
13:57:35Tiberiumyeah I have whole Visual Studio 2017 installed
13:57:41Tiberiumwith all headers needed
13:57:45FromGitter<barcharcraz> yeah that should work
13:57:57Tiberiumalso I tried intel compiler on windows and it works too (with nim)
13:58:03FromGitter<barcharcraz> anyway yeah use --link
13:58:24FromGitter<barcharcraz> heh I also use vcc (sorta, I use clang-cl since vcc can't actually boot nim right now)
13:58:32Tiberiumreally?
13:58:34FromGitter<barcharcraz> but I use the vs2017 headers and libs
13:58:35TiberiumI thought it can
13:58:37FromGitter<barcharcraz> yeah afaik
13:58:43FromGitter<barcharcraz> it broke a month or so ago
13:58:48FromGitter<barcharcraz> I think it's a msvc codegen bug
13:59:05Araqlet's hope so. and when it works again, let's add it to appveyor testing
13:59:09FromGitter<barcharcraz> you get an overload resolution error on the second stage
13:59:11Araqso that it doesn't break again
13:59:13FromGitter<barcharcraz> yeah
13:59:31FromGitter<barcharcraz> sidenote: vccexe does not know how to find vs2017
13:59:31Araqin fact
13:59:39FromGitter<barcharcraz> also --platform:amd64 is a strange arg
13:59:42Araqnow I remember.
13:59:56Tiberiumplatform?
14:00:01Tiberiumhmm I used --cpu all the time
14:00:06Araqin theory an overly smart C compiler can optimize the stack roots away
14:00:16Araqclang can also be overly aggressive about it
14:00:22FromGitter<barcharcraz> nono that's an argument for msvc that's in the default config
14:00:34FromGitter<barcharcraz> perhaps it does something for really old msvcs
14:00:41Araqlooked quite simple to patch Nim but I forgot the details
14:00:53Araqping arneduck
14:05:17*planhths quit (Quit: Konversation terminated!)
14:05:55FromGitter<barcharcraz> you work mostly on windows right araq?
14:08:33Araqno, 50-50
14:08:45Araq(windows, osx)
14:10:01FromGitter<mratsim> @Araq are vtref and vtptr planned soon, or is what in the manual just a spec/teaser for now?
14:10:23Araqsoon, zahary is working on it
14:10:50*def-pri-pub joined #nim
14:11:05AraqI hope a first implementation arrives the upcoming month
14:15:11FromGitter<mratsim> Cool, I’ll use inheritance/method for now but will switch ASAP. I hope the migration will just be sprinkling vtref instead of methods
14:22:25*v17d quit (Ping timeout: 248 seconds)
14:23:34*yglukhov quit (Remote host closed the connection)
14:24:18*yglukhov joined #nim
14:24:45*yglukhov quit (Remote host closed the connection)
14:25:53*yglukhov joined #nim
14:28:30*yglukhov quit (Remote host closed the connection)
14:33:08*johnny_b left #nim (#nim)
14:34:18*azur_kind joined #nim
14:38:30*mosORadi quit (Quit: Connection closed for inactivity)
14:38:31*pilne joined #nim
14:39:32FromGitter<barcharcraz> vtbl is such a cool feature
14:39:59FromGitter<barcharcraz> I was sad when I heard methods were going away but tbh vtable is a really good implementation of ... vtables
14:40:10FromGitter<barcharcraz> makes the actual layout explicit too which is sweet
14:44:46FromGitter<mratsim> I would love to have 2 examples one using inheritance/methods, one using VTable so we can compare ergonomics and performance. Maybe a game ;).
14:58:01*Tiberium quit (Remote host closed the connection)
14:58:32*Arrrr joined #nim
14:58:32*Arrrr quit (Changing host)
14:58:32*Arrrr joined #nim
15:03:07*rauss joined #nim
15:03:15*rauss quit (Client Quit)
15:09:35*Sentreen quit (Ping timeout: 240 seconds)
15:11:31*Jesin quit (Quit: Leaving)
15:14:36*arnetheduck joined #nim
15:15:42*Jesin joined #nim
15:17:00FromGitter<zacharycarter> o/
15:19:31*Vladar joined #nim
15:21:26*Vi- joined #nim
15:22:30*Sentreen joined #nim
15:23:40FromGitter<TiberiumN> hmm, I have a simple project where all files located inside src subdir. ⏎ trying to do "nim c src/vkbot.nim" stores executable not in current folder, but in src folder
15:24:21FromGitter<TiberiumN> I want to store resulting executable in current folder, not in src subdir
15:27:40*chemist69 quit (Ping timeout: 255 seconds)
15:30:04*chemist69 joined #nim
15:32:45*nsf quit (Quit: WeeChat 1.7.1)
15:43:05Arrrr--out:./project.exe
15:48:59*Jesin quit (Quit: Leaving)
15:52:33*arnetheduck quit (Ping timeout: 248 seconds)
16:03:07FromGitter<mratsim> You might also want to specify a nimcache dir with: --nimcache:nimcache
16:08:46*planhths joined #nim
16:12:06*niv quit (Remote host closed the connection)
16:15:57*niv joined #nim
16:16:16*niv quit (Remote host closed the connection)
16:16:31*niv joined #nim
16:20:16*niv quit (Remote host closed the connection)
16:20:33*niv joined #nim
16:22:24*murych joined #nim
16:33:25*murych quit (Quit: Leaving)
16:34:34*vendethiel joined #nim
16:36:33*yglukhov joined #nim
16:45:10*azur_kind quit (Remote host closed the connection)
16:48:56*surma joined #nim
16:50:55surmaHey everyone. I must me missing something obvious, but I can’t figure out how to make my proc work: ``proc find*[T](dll: var DoublyLinkedList[T], pred: proc (t: T): bool): Option[T] = ...`` – I want add a proc to lists.DoublyLinkedList that returns the first item that matches a predicate. But however I invoke this function, the compiler complains. It seems to not get the anonymous proc.
16:51:10surmaCurrently I am invoking it like this: ``item = dll.find[Entry](proc(entry: Entry): bool = entry.enabled)``
16:51:22surmaI tried the ``do`` notation as well, but no luck
16:52:01surmaThe error is: ``Error: type mismatch: got (DoublyLinkedList[helpers_test.Entry])`` (my proc is listed as alternatives, but i just doesn’t seem to be matched)
16:54:39Araqdll.find(proc (entry: Entry): bool = entry.enabled)
16:54:51Araqfind[Entry](dll, proc (entry: Entry): bool = entry.enabled)
16:56:19FromGitter<mratsim> You might also want to use `->` from Nim future to have nicer syntax
16:57:06surmaAraq: Your second suggestion seems to work. The first, however, does not. Compiler complains about ``template/generic instantiation from here`` and ends up saying ``but expected one of: iterator items...``
16:57:29Araqsurma: depends on what 'dll' is
16:57:31FromGitter<mratsim> @surma: here is the proper syntax: https://github.com/vegansk/nimfp/blob/master/src/fp/list.nim#L247
16:57:40FromGitter<barcharcraz> find needs items and `==` to work
16:57:42surmaAraq: A lists.DoublyLinkedList
16:58:14FromGitter<mratsim> You need to adapt the body to your own data structure
17:01:34surmamratsim: Oh?! I have not seen that syntax in the manual. I guess future things are not documented there yet?
17:02:04Araqit's not new syntax, it's just a macro :P
17:02:22FromGitter<mratsim> It’s documented there: https://nim-lang.org/docs/future.html
17:03:56surmalol. I really need to make use of the whole macro/templating stuff. Thanks, I’ll throw that in
17:04:00surmaOooh list comprehension! Nice :D
17:05:02*nsf joined #nim
17:15:45*couven92 quit (Ping timeout: 248 seconds)
17:19:37*Sentreen quit (Ping timeout: 246 seconds)
17:33:33*Sentreen joined #nim
17:40:57*Sentreen quit (Ping timeout: 240 seconds)
17:48:27*v17d joined #nim
17:49:50*handlex joined #nim
17:50:55*Arrrr quit (Quit: Leaving.)
17:51:36*dddddd quit (Remote host closed the connection)
17:54:19*Sentreen joined #nim
17:56:11subsetparksurma: be sure to check out mapIt and filteredByIt before you commit to the lc[] syntax; I have found it much more idiomatic and concise
17:57:22subsetparkThough list comprehensions can easily draw from multiple sources, which I don't know a better way to do
17:57:58*handlex quit (Quit: handlex)
18:00:30*Sentreen quit (Ping timeout: 240 seconds)
18:02:28subsetparkzahary: I am getting a new error in vim every time I open a .nim file; I think it's related to zah/nim.vim (tongue twister!) Have you heard of anything new?
18:05:06FromGitter<mratsim> Can someone reproduce this issue on Windows or Linux? https://github.com/nim-lang/Nim/issues/6078. Compilation hangs and Nim must be killed manually.
18:09:15subsetparkmratsim: my CPU usage doesn't spike, but the compile does hang on Linux
18:09:26FromGitter<mratsim> I’m completely stuck on my lib. I need object polymorphism but due to `static` bug I can’t use closures, methods and vtref is not yet there :/
18:09:37subsetparksame issue on #head
18:09:52subsetparkgood bug!
18:10:51FromGitter<mratsim> Thanks for reproducing
18:11:35zahary@subsetpark, do you see the error when you do `:messages` in vim?
18:12:40subsetparkzahary: yep.
18:13:12zaharycan I have a gist?
18:13:27subsetparkTrying to get one... Copying out of my term is hard :0
18:13:47*Sentreen joined #nim
18:15:00subsetparkhttps://www.irccloud.com/pastebin/4MezkGXU/
18:15:51zaharyhrm, looks strange. what's your vim version?
18:16:29zaharyI use my plugin everyday, but it definetely needs some TCL
18:17:14subsetparkThis is under Neovim... I also use the plugin every day, it seems to have just popped out of the blue
18:17:47subsetparkThis version was installed May 06 so not sure what would have changed
18:17:57zaharyso latest neovim? built from git head?
18:18:22subsetparkNo, stable - 0.2.0-2
18:19:30zaharyjust to be sure, I would check if the files of the plugin are intact (I guess you've cloned them using git - you can run a git status)
18:23:29subsetparkyes, i just installed a clean version - same issue
18:23:34subsetparkbut i think i might know what's causing it
18:24:45subsetparkYeah that was it. I use a non-POSIX shell; I recently removed `set shell=/usr/bin/bash` from my rcfile
18:26:27subsetparkBTW - ALE's Nim integration is really solid
18:30:11zaharyI think there is also a fork of my plugin on Github with quite a lot of improvements
18:49:23*ARCADIVS joined #nim
18:58:50*arnetheduck joined #nim
19:17:54*xet7 joined #nim
19:41:05*Sentreen quit (Ping timeout: 240 seconds)
19:47:16*yglukhov quit (Remote host closed the connection)
19:53:55*Sentreen joined #nim
20:08:52*rokups quit (Quit: Connection closed for inactivity)
20:11:02*yglukhov joined #nim
20:15:41*couven92 joined #nim
20:26:48*gokr joined #nim
20:27:13*Sentreen quit (Ping timeout: 248 seconds)
20:38:40*Vi- quit (Ping timeout: 260 seconds)
20:38:47*planhths quit (Quit: Konversation terminated!)
20:41:05*Sentreen joined #nim
20:46:50*Vladar quit (Quit: Leaving)
20:47:32*Sentreen quit (Ping timeout: 260 seconds)
20:51:29*nightmared quit (Ping timeout: 246 seconds)
20:54:08*cs_ joined #nim
20:55:11cs_test
20:55:56*cs_ quit (Client Quit)
21:01:34*Sentreen joined #nim
21:03:21FromGitter<Varriount> subsetpark: ALE?
21:14:18surmaI’m trying to write a template to generate setters, but I can’t quite figure out how to inject a name into the the infix-operator notation. Is there a way or do I need to use macros for this? (snippet: https://gist.github.com/surma/f0d0436c6f90124e1f04edf429a95c22)
21:17:31*gokr quit (Quit: Leaving.)
21:29:31dom96Hrm. Araq^
21:29:41dom96I have a feeling that macros are needed for this.
21:29:54dom96IMO this name construction syntax in templates needs to be made more flexible
21:45:34*handlex joined #nim
21:47:45*Sentreen quit (Ping timeout: 248 seconds)
21:56:49*vendethiel quit (Ping timeout: 248 seconds)
22:01:45*Sentreen joined #nim
22:20:05*arnetheduck quit (Ping timeout: 240 seconds)
22:24:48*derlafff quit (Remote host closed the connection)
22:25:10*yglukhov quit (Remote host closed the connection)
22:26:09*derlafff joined #nim
22:34:50*nsf quit (Quit: WeeChat 1.7.1)
22:40:38*sz0 joined #nim
22:46:44*xet7 quit (Quit: Leaving)
22:54:44*handlex quit (Quit: handlex)
23:18:54*Matthias247 quit (Read error: Connection reset by peer)
23:44:55*chemist69 quit (Ping timeout: 255 seconds)
23:45:19*chemist69 joined #nim
23:57:08subsetparkVarriount: https://github.com/w0rp/ale
23:57:38subsetparkReally good asynchronous linter - syntastic replacement