<< 13-11-2016 >>

00:10:41*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:30:06*Matthias247 quit (Read error: Connection reset by peer)
00:37:37*bjz joined #nim
01:26:08*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:28:13*vlad1777d quit (Read error: Connection reset by peer)
01:31:42*bjz joined #nim
01:41:52*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:02:45*byte512 quit (Ping timeout: 248 seconds)
02:17:59*bjz_ joined #nim
02:23:09*jim-e joined #nim
02:24:57*chemist69 quit (Disconnected by services)
02:25:02*chemist69_ joined #nim
02:29:20*jim-e left #nim ("Leaving")
02:37:21*couven92 quit (Quit: Client disconnecting)
02:44:34*desophos joined #nim
03:16:17*yglukhov joined #nim
03:21:10*yglukhov quit (Ping timeout: 268 seconds)
04:03:28*BlaXpirit quit (Quit: Bye)
04:03:44*pigmej quit (Ping timeout: 244 seconds)
04:05:32*pigmej joined #nim
04:05:43*BlaXpirit joined #nim
04:18:06*dmi00 quit (Ping timeout: 256 seconds)
04:19:00*dmi00 joined #nim
04:26:37*dmi00 quit (Quit: ~)
04:28:56*chemist69_ quit (Ping timeout: 240 seconds)
04:30:52*dmi0 joined #nim
04:31:43*chemist69 joined #nim
05:00:13*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:17:18*bjz_ joined #nim
05:45:29*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:51:26*bjz joined #nim
06:03:16*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:12:41*bjz joined #nim
06:18:49*Dankrad quit (Ping timeout: 258 seconds)
06:20:32*Dankrad joined #nim
06:24:49*bjz_ joined #nim
06:25:36*bjz quit (Ping timeout: 256 seconds)
06:28:16*Zaibon left #nim (#nim)
06:35:37*chemist69 quit (Ping timeout: 240 seconds)
07:02:57*chemist69 joined #nim
07:05:57*dmi0 quit (Ping timeout: 256 seconds)
07:22:09*perturbation joined #nim
07:30:05*delian66 quit (Quit: leaving)
07:30:57*delian66 joined #nim
07:41:56*delian66 quit (Quit: leaving)
07:42:20*delian66 joined #nim
07:44:32*delian66 quit (Client Quit)
07:44:43*delian66 joined #nim
07:44:50*delian66 quit (Client Quit)
07:45:08*delian66 joined #nim
08:07:21*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:38:57*chemist69 quit (Ping timeout: 240 seconds)
08:43:34*bjz joined #nim
08:43:51*chemist69 joined #nim
09:25:09*xet7 joined #nim
09:36:55*adeohluwa joined #nim
09:40:13*yglukhov joined #nim
09:45:33*adeohluwa quit (Remote host closed the connection)
10:02:01*yglukhov quit (Remote host closed the connection)
10:03:05*yglukhov joined #nim
10:04:54*perturbation quit (Ping timeout: 256 seconds)
10:07:59*gokr quit (Ping timeout: 244 seconds)
10:18:04*bjz_ joined #nim
10:18:13*bjz quit (Ping timeout: 252 seconds)
10:24:02*bjz joined #nim
10:24:37*bjz_ quit (Ping timeout: 248 seconds)
10:31:44*Matthias247 joined #nim
11:08:54*gokr joined #nim
11:08:55*vlad1777d joined #nim
11:13:23*[CBR]Unspoken quit (Ping timeout: 245 seconds)
11:37:43*couven92 joined #nim
11:50:18*bjz quit (Ping timeout: 256 seconds)
11:50:20*bjz_ joined #nim
12:02:20*Snircle joined #nim
12:13:09*dmi0 joined #nim
12:17:28*_stowa quit (Remote host closed the connection)
12:19:16*yglukhov quit (Remote host closed the connection)
12:26:02*yglukhov joined #nim
12:35:45*gokr quit (Ping timeout: 256 seconds)
12:54:30*vendethiel quit (Remote host closed the connection)
12:54:46*vendethiel joined #nim
13:51:26*couven92 quit (Ping timeout: 246 seconds)
13:52:07*couven92 joined #nim
13:56:08*chemist69 quit (Ping timeout: 258 seconds)
13:58:48*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:01:04*chemist69 joined #nim
14:02:44*[CBR]Unspoken joined #nim
14:07:03*yglukhov quit (Remote host closed the connection)
14:14:14*Matthias247 quit (Read error: Connection reset by peer)
14:15:41*yglukhov joined #nim
14:32:05*yglukhov quit (Remote host closed the connection)
14:42:04*yglukhov joined #nim
14:47:52*yglukhov quit (Remote host closed the connection)
14:50:56*couven92 quit (Ping timeout: 246 seconds)
14:51:29*couven92 joined #nim
14:55:01*yglukhov joined #nim
15:00:18*yglukhov quit (Remote host closed the connection)
15:04:55*cheatfate_ joined #nim
15:07:11*cheatfate quit (Read error: Connection reset by peer)
15:07:11*cheatfate_ quit (Read error: Connection reset by peer)
15:07:17*cheatfate__ joined #nim
15:07:48*couven92 quit (Read error: Connection reset by peer)
15:16:52*cheatfate__ is now known as cheatfate
15:19:58corecodeso i guess i can't define a const value on an object?
15:20:49*Trustable joined #nim
15:29:34*yglukhov joined #nim
15:34:20cheatfatecorecode, could you please show example?
15:34:26cheatfatewhat are you trying to do
15:54:43*PMunch joined #nim
15:54:58*arnetheduck quit (Ping timeout: 258 seconds)
16:30:25*gokr joined #nim
16:30:37*flaviut joined #nim
16:31:00flaviutHey, can someone review this: https://github.com/flaviut/nim-by-example/pull/40/files ?
16:34:56cheatfateflaviut, sequences are immutable only when passed as `argument by value`... and mutable when passed as `argument by reference` (marked var)
16:35:36cheatfatebecause sequences declared inside of function and used only inside of this function - mutable.
16:37:15*Matthias247 joined #nim
16:46:49corecodecheatfate: type foo: object myconst = 100
16:47:16cheatfatetype foo = object
16:47:38cheatfatemyconst: int
16:47:50cheatfateconst objConst = foo(myconst: 100)
16:48:37*dddddd joined #nim
16:52:55corecodeyea not what i want
16:52:59flaviutcheatfate: ok, thank you!
16:53:06corecodei think
16:54:13cheatfatecorecode, i have tried because your construction `type foo: object myconst = 100` is wrong
16:54:23corecodeyes i know it is wrong
16:54:36corecodebasically a constant property on a type
16:54:51corecodenot on an object instance
16:55:22cheatfatecorecode, its not possible
16:55:33corecodeokay
16:55:56corecodecan i generate documentation comments using templates?
16:56:01corecodeor macros
16:58:45*gokr quit (Ping timeout: 265 seconds)
17:07:04*nsf joined #nim
17:18:09*flaviut quit (Ping timeout: 258 seconds)
17:39:17*PMunch quit (Quit: leaving)
17:50:09FromGitter<linkmonitor> Couldn't you do ⏎ ⏎ `````` [https://gitter.im/nim-lang/Nim?at=5828a7d1e097df7575a74ba6]
17:50:15FromGitter<linkmonitor> Sorry, early click.
17:51:47FromGitter<linkmonitor> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5828a83388fa21d53c180669]
17:52:35*couven92 joined #nim
17:53:02*perturbation joined #nim
17:53:11FromGitter<linkmonitor> Appears you can also make `myconst` a template instead of a proc.
17:53:49FromGitter<linkmonitor> ```code paste, see link``` ⏎ ⏎ Tested example [https://gitter.im/nim-lang/Nim?at=5828a8ac65485ebc678dd227]
18:11:18*synaps3 joined #nim
18:22:13*synaps3 left #nim ("Leaving")
18:23:04*libman joined #nim
18:27:06*mat4 joined #nim
18:27:17mat4hello
18:49:09*gangstacat quit (Ping timeout: 260 seconds)
18:50:22*byte512 joined #nim
18:58:22*gangstacat joined #nim
19:02:02*chemist69 quit (Ping timeout: 258 seconds)
19:05:05*chemist69 joined #nim
19:06:56*libman quit (Quit: Leaving.)
19:07:10*libman joined #nim
19:08:46*byte512 quit (Ping timeout: 265 seconds)
19:10:17*Jesin quit (Quit: Leaving)
19:18:14*libman quit (Quit: Leaving.)
19:18:24*libman joined #nim
19:24:08*zaquest quit (Quit: Leaving)
19:35:18*mat4 quit (Quit: Verlassend)
19:36:55*perturbation quit (Quit: Leaving)
20:11:31*bjz joined #nim
20:18:50*libman quit (Quit: Leaving.)
20:19:06*libman joined #nim
20:25:42*libman quit (Quit: Leaving.)
20:25:58*libman joined #nim
20:26:07*libman left #nim (#nim)
20:37:51*space-wizard joined #nim
20:49:27*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:52:00*nsf quit (Quit: WeeChat 1.6)
21:05:46*Trustable quit (Remote host closed the connection)
21:36:16*Jesin joined #nim
21:39:33*bjz joined #nim
21:46:01*bjz quit (Ping timeout: 260 seconds)
21:48:05*bjz joined #nim
21:55:46*bjz quit (Read error: Connection reset by peer)
21:59:36*couven92 quit (Quit: Client disconnecting)
22:06:51cheatfatecorecode, i'm not sure, but i think its possible, but you need to mark your functions with some custom {.pragma.} so your macro will be invoked, which can modify function and add comment right after procedure declaration. But i'm not sure about this technique
22:17:11*couven92 joined #nim
22:32:44*Matthias247 quit (Read error: Connection reset by peer)
22:57:50*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:59:05*space-wizard joined #nim
22:59:23*space-wizard quit (Client Quit)
22:59:47*Dankrad quit (Ping timeout: 252 seconds)
22:59:53*space-wizard joined #nim
23:00:11*space-wizard quit (Client Quit)
23:00:41*space-wizard joined #nim
23:00:59*space-wizard quit (Client Quit)
23:01:07*Dankrad joined #nim
23:01:30*space-wizard joined #nim
23:01:47*space-wizard quit (Client Quit)
23:01:51*vlad1777d quit (Quit: Leaving)
23:02:17*space-wizard joined #nim
23:02:35*space-wizard quit (Client Quit)
23:03:02*space-wizard joined #nim
23:03:23*space-wizard quit (Client Quit)
23:03:52*space-wizard joined #nim
23:04:11*space-wizard quit (Client Quit)
23:09:11*yglukhov quit (Remote host closed the connection)
23:15:38*kunev quit (Ping timeout: 246 seconds)
23:17:32*kunev joined #nim
23:29:29*yglukhov joined #nim
23:33:48*yglukhov quit (Ping timeout: 245 seconds)
23:57:14*ftsf_ joined #nim