<< 09-03-2016 >>

00:08:52*Guest76595 quit (Remote host closed the connection)
00:11:08*gokr quit (Read error: Connection reset by peer)
00:13:32*Trustable quit (Remote host closed the connection)
00:13:41*Heartmender joined #nim
00:14:02*Heartmender is now known as Guest17406
00:16:09*vendethiel quit (Ping timeout: 246 seconds)
00:22:09*yglukhov joined #nim
00:23:13*jaco60 quit (Ping timeout: 240 seconds)
00:26:43*yglukhov quit (Ping timeout: 248 seconds)
00:32:15*mahasamoot joined #nim
01:11:11*lcm337 quit (Quit: Page closed)
01:17:17*zepolen quit (Remote host closed the connection)
01:41:46*francisl joined #nim
01:50:08*pregressive joined #nim
02:01:14*Varriount_ joined #nim
02:01:14*Varriount quit (Disconnected by services)
02:18:05*brson quit (Ping timeout: 244 seconds)
02:23:43*yglukhov joined #nim
02:28:19*yglukhov quit (Ping timeout: 248 seconds)
02:33:03*vendethiel joined #nim
02:50:52*francisl quit (Quit: francisl)
02:55:03*vendethiel quit (Ping timeout: 240 seconds)
03:02:30*francisl joined #nim
03:14:11*endragor joined #nim
03:15:15*Sergio965 quit (Ping timeout: 276 seconds)
03:15:48*francisl quit (Quit: francisl)
03:19:52*Sergio965 joined #nim
03:23:42*endragor quit (Remote host closed the connection)
03:24:31*Varriount joined #nim
03:25:20*endragor joined #nim
03:26:33*Varriount_ quit (Ping timeout: 268 seconds)
03:26:56*francisl joined #nim
03:31:53*Sembei joined #nim
03:33:46*Pisuke quit (Ping timeout: 250 seconds)
03:38:40*Varriount quit (Disconnected by services)
03:38:40*Varriount_ joined #nim
04:00:32*desophos joined #nim
04:25:11*yglukhov joined #nim
04:30:59*yglukhov quit (Ping timeout: 248 seconds)
04:49:22*askatasuna quit (Ping timeout: 260 seconds)
04:49:51*mnemonikk quit (Ping timeout: 246 seconds)
04:49:59*mnemonikk joined #nim
04:49:59*mnemonikk quit (Changing host)
04:49:59*mnemonikk joined #nim
04:50:32*lyro quit (Ping timeout: 260 seconds)
04:50:50*lyro joined #nim
04:52:16*askatasuna joined #nim
05:27:41*yglukhov joined #nim
05:31:47*yglukhov quit (Ping timeout: 248 seconds)
06:04:40*francisl quit (Quit: francisl)
06:17:45*endragor_ joined #nim
06:21:09*endragor quit (Ping timeout: 276 seconds)
06:21:32*mahasamoot quit (Ping timeout: 260 seconds)
06:21:54*zepolen joined #nim
06:23:40*MyMind joined #nim
06:26:47*Sembei quit (Ping timeout: 260 seconds)
06:33:03*zepolen quit (Remote host closed the connection)
06:34:41*Kingsquee joined #nim
06:36:07*zepolen joined #nim
06:39:29*endragor_ quit (Remote host closed the connection)
06:39:59*endragor joined #nim
06:46:14*desophos quit (Read error: Connection reset by peer)
06:58:13*yglukhov joined #nim
07:01:39*yglukhov quit (Remote host closed the connection)
07:06:57*pregressive quit (Remote host closed the connection)
07:19:53*gunn quit (Read error: Connection reset by peer)
07:21:55*gokr joined #nim
07:32:49*bozaloshtsh quit (Ping timeout: 240 seconds)
07:33:05*bozaloshtsh joined #nim
07:34:31*zepolen quit (Remote host closed the connection)
07:53:31*zepolen joined #nim
07:53:47*zepolen quit (Remote host closed the connection)
07:55:46*zepolen joined #nim
08:17:47*Kingsquee quit (Read error: Connection reset by peer)
08:17:55*Kingsquee joined #nim
08:23:11*yglukhov joined #nim
08:36:00*irrequietus joined #nim
08:36:40*exebook quit (Ping timeout: 252 seconds)
08:48:40*irrequietus quit ()
08:50:18*exebook joined #nim
09:12:37*exebook quit (Read error: Connection reset by peer)
09:32:37*exebook joined #nim
09:38:05*Demon_Fox quit (Quit: Leaving)
09:51:50*Arrrr joined #nim
09:52:42*endragor quit (Remote host closed the connection)
09:54:02*PMunch joined #nim
09:56:43*endragor joined #nim
10:10:27*mahasamoot joined #nim
10:27:12*BitPuffin joined #nim
10:45:54*gour joined #nim
10:49:39*exebook quit (Ping timeout: 246 seconds)
10:53:55*PMunch quit (Ping timeout: 248 seconds)
10:54:27gourmorning...there was talk in the forums that wx bindings for widgets would be released, but i do not see anything in regard, although was not very present with Nim in recent time. any news in regard?
11:02:47*exebook joined #nim
11:04:28*Salewski joined #nim
11:05:08*darkf quit (Quit: Leaving)
11:06:33SalewskiGour: wxWidgets wrapper from Araq is available. I think someone intended to make a higher level wrapper available at some time, mayby Goran or Mr OderWat...
11:06:48*endragor quit (Remote host closed the connection)
11:12:00*krux02 joined #nim
11:17:54*toaoMgeorge joined #nim
11:18:02*coffeepot joined #nim
11:18:15gourSalewski: i know about the former, but was thinking about the latter...yeah, probably by OderWat...i was not able to build wxnim
11:21:04gouri'd like to see something like this for Nim: https://twitter.com/cschorn/status/706504048514617344
11:23:50Salewskigour: Yes, message was from OderWat, see http://forum.nim-lang.org/t/1523#11463 near the bottom of that thread. I dont know if OderWat will add GC support.
11:29:07*Salewski quit ()
11:40:50gokrNo, although I would be interested in wx - I don't have time working on it.
11:41:02gokr(regarding higher level wrapper)
11:42:36Varriount_gour: https://github.com/Araq/wxnim
11:47:14*endragor joined #nim
11:48:42Varriount_gour: What prevented you from building wxnim?
11:52:24*Kingsquee quit (Read error: Connection reset by peer)
11:54:39*Kingsquee joined #nim
11:57:45*arnetheduck joined #nim
12:09:31*Pisuke joined #nim
12:11:55*NimBot joined #nim
12:12:09*MyMind quit (Ping timeout: 276 seconds)
12:22:20*zepolen quit (Remote host closed the connection)
14:47:21*NimBot joined #nim
15:11:09*francisl joined #nim
15:12:13*cheatfate quit (Read error: Connection reset by peer)
15:12:30*cheatfate joined #nim
15:26:13*francisl_ joined #nim
15:26:21*francisl quit (Ping timeout: 248 seconds)
15:29:40ArrrrThat's funny because yesterday i got a problem which dissapeared when using echo too, endragor
15:30:13ArrrrVarriount_ discovered it only happened in 32b build
15:36:26*pregressive joined #nim
15:45:48*francisl_ quit (Quit: francisl_)
15:51:46*francisl joined #nim
16:09:08*dorei quit (Quit: Page closed)
16:11:40*yglukhov quit (Ping timeout: 250 seconds)
16:19:06*Arrrr_ joined #nim
16:22:31*Arrrr quit (Ping timeout: 252 seconds)
16:29:26*endragor quit (Ping timeout: 250 seconds)
16:30:08*gokr joined #nim
16:34:02*arnetheduck quit (Ping timeout: 268 seconds)
16:40:02*francisl quit (Quit: francisl)
16:41:02*francisl joined #nim
16:44:57*Sentreen joined #nim
16:47:13*pregressive quit (Read error: Connection reset by peer)
16:47:45*pregressive joined #nim
16:49:21*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
17:14:40*Sentreen quit ()
17:17:57*Jesin joined #nim
17:19:04*irrequietus joined #nim
17:24:08*zepolen quit (Remote host closed the connection)
17:24:56*irrequietus quit ()
17:27:32*pregressive quit (Remote host closed the connection)
17:31:48*vendethiel joined #nim
17:46:10*zepolen joined #nim
18:14:28*darkf joined #nim
18:21:20*Arrrr_ quit (Quit: WeeChat 1.4)
18:28:03*pregressive joined #nim
18:29:08*pregressive quit (Remote host closed the connection)
18:29:20*pregressive joined #nim
18:37:33*Matthias247 joined #nim
18:41:39*brson joined #nim
18:48:39*PMunch quit (Ping timeout: 276 seconds)
18:51:06*exebook quit (Read error: Connection reset by peer)
18:51:14*BitPuffin quit (Read error: Connection reset by peer)
19:07:30*toaoMgeorge joined #nim
19:10:37*exebook joined #nim
19:13:31*desophos joined #nim
19:31:13*vendethiel quit (Ping timeout: 240 seconds)
19:38:23*vendethiel joined #nim
19:57:56*Trustable joined #nim
20:00:37*vendethiel quit (Ping timeout: 268 seconds)
20:03:49*Sembei joined #nim
20:17:03*jaco60 quit (Ping timeout: 276 seconds)
20:21:15*vendethiel joined #nim
20:22:06*Trustable quit (Ping timeout: 244 seconds)
20:25:06*Trustable joined #nim
20:27:06*jaco60 joined #nim
20:30:21*Matthias247 quit (Quit: Matthias247)
20:31:34*yglukhov joined #nim
20:32:31*Matthias247 joined #nim
20:35:41*yglukhov quit (Ping timeout: 248 seconds)
20:50:47*ics joined #nim
20:54:14*filippo joined #nim
20:54:58filippohi all, is it possible to an operator that work like the elixir pipe operator?
20:55:32filippoSo a |> b becomes b(a())
20:56:01filippoor a |> b("foo") becomes b(a, "foo")
20:56:32*nchambers quit (Changing host)
20:56:32*nchambers joined #nim
20:56:41flyxfilippo: the first one can definitely be done with templates
20:56:50flyxfilippo: the second one would need a macro
20:57:35filippoflyx: i tried to go with macros but it seems it's not possible to write infix operators
20:58:00*brson quit (Ping timeout: 276 seconds)
20:58:22nchamberswhy not just do b(a())?
20:58:43filipponchambers: because if you have a(b(c(d()))) it
20:58:48filippoit's not readable
20:59:01def-filippo: In Nim you can write that as d().c.b.a
20:59:18filippoit's prettier d |> c |> b |> a
21:00:16nchambersI mean I wouldn't say its unreadable, but def-'s idea seems good
21:00:30flyxfilippo: well you can of course write a template that calls a macro
21:00:55flyxso you can implement the infix operator with macros
21:01:25filippodef-: lol shame on me :D
21:01:44def-filippo: it looks totally fine to me: https://gist.github.com/def-/18979a11675cf94f90ea
21:02:53filippodef-: yep you're right, my fault i don't know why it didn't come to my mind
21:03:10def-no problem, that's why there's a #nim irc channel :)
21:03:25filippoflyx: correct
21:04:43*brson joined #nim
21:22:10*yglukhov joined #nim
21:25:17*Matthias247 quit (Quit: Matthias247)
21:26:27*yglukhov quit (Ping timeout: 248 seconds)
21:36:50filippois it planned to have sequtils to work at compile time?
21:38:50ldleworkIt doesn't?
21:40:24filippofor example map doesn't seems to work
21:40:37*Matthias247 joined #nim
21:40:45filippo(but maybe i'm doing something wrong)
21:45:46*OnwardEuler quit (Ping timeout: 244 seconds)
21:54:10*Kingsquee joined #nim
22:02:03*gour quit (Quit: WeeChat 1.4)
22:02:58filippoReading this one http://nim-lang.org/docs/nep1.html
22:04:14filipposhould i use two new lines between procs?
22:04:48filippolike python or not?
22:07:01*Demon_Fox joined #nim
22:07:49def-filippo: I've mostly seen 1 line, sometimes 2 lines for bigger separation and 0 lines for very similar 1-liner procs
22:08:51*Matthias247 quit (Read error: Connection reset by peer)
22:16:28*Jesin quit (Remote host closed the connection)
22:19:49*OnwardEuler joined #nim
22:21:39filippoWriting this one: map(temp, proc(x: string): string = x & "fsd")
22:22:05filippowhere temp is var temp: seq[string] = @["foo", "bar"]
22:22:26filippoi get value of type 'seq[string]' has to be discarded
22:22:39filippoi'm doing this in a compile time proc
22:22:52*irrequietus joined #nim
22:30:17*PMunch joined #nim
22:34:33*francisl quit (Quit: francisl)
22:39:19def-filippo: map(temp, proc(x: var string) = x.add("fsd"))
22:39:58def-see the definitions of map in sequtils, there are two, one returns a new seq, the other modifies it directly
22:40:50def-Oh, it's being renamed from `map` to `apply`
22:47:38*drewkett joined #nim
22:57:10filippodef-: thanks
23:18:51*NimBot joined #nim
23:27:49*gokr quit (Quit: Leaving.)
23:35:07*irrequietus quit ()
23:35:27*lcm337 joined #nim
23:39:28*vendethiel quit (Ping timeout: 244 seconds)
23:51:19*francisl quit (Quit: francisl)
23:54:02*Learath2 quit (Ping timeout: 250 seconds)
23:54:24*Learath2 joined #nim
23:59:38*lcm337 quit (Ping timeout: 252 seconds)