00:18:25 | * | Sembei quit (Ping timeout: 240 seconds) |
00:24:00 | * | keyle joined #nim |
00:24:51 | * | gokr quit (Ping timeout: 255 seconds) |
00:34:26 | * | Demon_Fox joined #nim |
00:49:52 | * | keyle quit (Quit: http://twitter.com/keyle/) |
01:17:53 | * | pregressive joined #nim |
01:22:28 | * | pregressive quit (Ping timeout: 272 seconds) |
01:23:59 | * | rupil quit (Quit: Page closed) |
01:33:53 | * | chemist69 joined #nim |
01:35:42 | * | wuehlmaus quit (Quit: Lost terminal) |
01:37:03 | * | chemist69_ quit (Ping timeout: 252 seconds) |
01:47:42 | * | Demon_Fox quit (Read error: Connection reset by peer) |
01:47:47 | * | Demon_Fox_ joined #nim |
02:01:37 | * | enamex_ quit (Ping timeout: 265 seconds) |
02:03:23 | * | Jesin quit (Quit: Leaving) |
02:38:47 | * | jgirvin1 joined #nim |
02:38:47 | * | jgirvin1 is now known as jgirvin3 |
02:38:50 | * | jgirvin2 joined #nim |
02:38:50 | * | jgirvin2 is now known as jgirvin4 |
02:39:49 | * | jgirvin4 quit (Client Quit) |
02:40:02 | * | jgirvin3 quit (Client Quit) |
02:40:31 | * | girvo joined #nim |
02:41:47 | * | jgirvin joined #nim |
02:41:48 | * | jgirvin quit (Client Quit) |
02:42:43 | * | Jehan_ joined #nim |
02:45:02 | * | yglukhov joined #nim |
02:49:31 | * | yglukhov quit (Ping timeout: 250 seconds) |
02:52:25 | * | girvo quit (Quit: leaving) |
03:00:38 | * | BitPuffin|osx quit (Ping timeout: 272 seconds) |
03:18:44 | * | pregressive joined #nim |
03:22:44 | * | jgirvin joined #nim |
03:22:45 | * | jgirvin quit (Client Quit) |
03:23:03 | * | pregressive quit (Ping timeout: 255 seconds) |
03:24:05 | * | darkf joined #nim |
03:44:28 | * | vendethiel joined #nim |
04:06:53 | * | vegansk joined #nim |
04:08:51 | * | vendethiel quit (Ping timeout: 252 seconds) |
04:33:09 | * | HoloIRCUser joined #nim |
04:33:25 | * | HoloIRCUser is now known as enamex_ |
05:03:08 | * | Jehan_ quit (Quit: Leaving) |
05:08:51 | * | gokr joined #nim |
05:10:28 | * | enamex_ quit (Ping timeout: 268 seconds) |
05:38:16 | * | lyro quit (Read error: Connection reset by peer) |
05:58:53 | * | lyro joined #nim |
06:08:36 | * | Demon_Fox_ quit (Ping timeout: 265 seconds) |
06:10:59 | * | strcmp1 quit (Ping timeout: 264 seconds) |
06:21:02 | * | yglukhov joined #nim |
06:26:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
06:30:10 | * | yglukhov joined #nim |
06:34:59 | * | yglukhov quit (Ping timeout: 264 seconds) |
06:36:47 | * | gokr_ joined #nim |
06:43:38 | * | jakesyl quit (Ping timeout: 240 seconds) |
06:50:02 | * | gokr_ quit (Read error: Connection reset by peer) |
06:55:56 | * | jakesyl joined #nim |
07:01:08 | * | Demon_Fox joined #nim |
07:17:49 | * | Trustable joined #nim |
07:29:04 | * | yglukhov joined #nim |
07:29:12 | * | Trustable quit (Read error: Connection reset by peer) |
07:29:26 | * | Trustable joined #nim |
07:44:00 | * | thotypous quit (Ping timeout: 244 seconds) |
07:48:12 | * | Demon_Fox quit (Quit: Leaving) |
08:01:14 | * | irrequietus joined #nim |
08:04:51 | * | coffeepot joined #nim |
08:17:09 | vegansk | I'm trying to solve https://github.com/nim-lang/Nim/issues/3333 and I have a question about compiler's type "ast.TStrTable". Why it is implemented via sequence? Maybe it's better to reimplement it via tables module? |
08:21:37 | dom96 | vegansk: Likely because the tables module wasn't there when it was implemented. |
08:21:39 | * | gokr quit (Remote host closed the connection) |
08:24:21 | vegansk | dom96: So, does it make sense to do it now? |
08:25:04 | dom96 | vegansk: the current implementation might be more efficient |
08:25:58 | * | bjz joined #nim |
08:30:32 | vegansk | dom96: If so, it's to bad for tables module :-) |
08:36:17 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:53:47 | * | clone1018 quit (Remote host closed the connection) |
08:53:48 | * | AckZ quit (Remote host closed the connection) |
08:53:48 | * | biscarch quit (Remote host closed the connection) |
08:53:48 | * | softinio quit (Remote host closed the connection) |
08:54:01 | * | bjz joined #nim |
08:59:52 | * | yglukhov_ joined #nim |
09:02:18 | * | tja joined #nim |
09:03:10 | * | yglukhov quit (Ping timeout: 240 seconds) |
09:05:15 | * | tja quit (Client Quit) |
09:09:29 | * | wuehlmaus joined #nim |
09:10:36 | * | AckZ joined #nim |
09:14:00 | * | jaco60 quit (Remote host closed the connection) |
09:16:43 | * | thotypous joined #nim |
09:20:00 | * | biscarch joined #nim |
09:21:11 | * | clone1018 joined #nim |
09:22:26 | * | tja joined #nim |
09:22:36 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:24:34 | * | bjz joined #nim |
09:28:41 | * | tja quit (Quit: Page closed) |
09:30:24 | * | softinio joined #nim |
09:30:59 | * | tja joined #nim |
09:35:59 | * | gokr joined #nim |
09:36:14 | * | gokr quit (Remote host closed the connection) |
09:41:08 | * | jaco60 joined #nim |
09:58:42 | NimBot | nim-lang/Nim devel d93ae34 Aman Gupta [+0 ±2 -0]: s/advanted/advanced/g |
09:58:42 | NimBot | nim-lang/Nim devel 50b4406 Aman Gupta [+0 ±1 -0]: s/acces/access/g |
09:58:42 | NimBot | nim-lang/Nim devel cd40137 Aman Gupta [+0 ±2 -0]: mark code-blocks in 2d/3d docs |
09:58:42 | NimBot | nim-lang/Nim devel 08f9bae Andreas Rumpf [+0 ±4 -0]: Merge pull request #3352 from tmm1/fix-doc-typos... 2 more lines |
09:59:45 | * | Jehan_ joined #nim |
09:59:55 | * | gokr joined #nim |
10:00:11 | * | gokr quit (Remote host closed the connection) |
10:00:21 | * | Jehan_ quit (Client Quit) |
10:02:43 | * | tja quit (Quit: Page closed) |
10:06:00 | * | yglukhov_ quit (Remote host closed the connection) |
10:06:36 | * | yglukhov joined #nim |
10:07:12 | * | gokr joined #nim |
10:07:24 | * | gokr quit (Remote host closed the connection) |
10:10:17 | * | gokr joined #nim |
10:21:04 | Araq | dom96: so ... nimforum doesn't compile with devel? |
10:21:42 | dom96 | nope |
10:22:09 | Araq | yay |
10:23:08 | dom96 | I made a comment on the commit that I think broke it |
10:23:56 | Araq | I noticed |
10:31:03 | Araq | .nimble\pkgs\jester-0.1.0\jester.nim(188, 71) Error: use '^' instead of '-'; negative indexing is obsolete |
10:31:33 | Araq | nimble update jester |
10:31:41 | Araq | Downloading package list from jester |
10:31:47 | Araq | --> spot the problem ;-) |
10:33:48 | dom96 | nimble install jester@#head |
10:34:56 | Araq | yes, my point is: "nimble update" is not intuitive |
10:35:34 | Araq | "nimble update jester" should do what I think or not exist |
10:35:48 | Araq | also the 404 download produces a broken packages.json file |
10:36:19 | Araq | "nimble update" should be "nimble refresh" |
10:36:45 | Araq | or even "nimble update_package_list" |
10:58:30 | dom96 | Pretty sure we already discussed this |
10:59:17 | dom96 | and once again: I won't change it |
10:59:41 | dom96 | It's easy to figure out what 'nimble update' is doing |
10:59:47 | Araq | well if I stumble upon it every time |
10:59:56 | Araq | maybe it's a valid reason to change it? |
10:59:57 | dom96 | then that's because you don't use Nimble enough |
11:00:16 | Araq | nimble needs to care about the casual users too |
11:00:32 | dom96 | Many package managers work this way |
11:01:15 | dom96 | apt-get works this way |
11:01:24 | dom96 | and has an 'upgrade' which is very confusing |
11:02:11 | * | jaco60 quit (Ping timeout: 246 seconds) |
11:03:19 | dom96 | but we might get that too :P |
11:04:02 | Araq | ok, I will use my own nimble fork then :P |
11:04:54 | softinio | Lol |
11:05:57 | dom96 | I'm willing to change it if there are people who agree with you. |
11:06:15 | dom96 | So post on the forum if you really think this is so important |
11:06:20 | dom96 | :P |
11:06:34 | Araq | ha, you think I'm too lazy to do that. |
11:06:39 | Araq | but I'm not. |
11:07:25 | dom96 | hah |
11:08:19 | dom96 | Araq: Argh. I need to order those Nim stickers. |
11:08:31 | dom96 | Araq: So how many should I get? |
11:09:47 | * | joelmo joined #nim |
11:10:30 | Araq | what about the T-shirts? |
11:10:37 | * | Ven joined #nim |
11:12:34 | * | razaaa joined #nim |
11:13:48 | softinio | are you guys creating them to sell or are they already online for us to order? |
11:14:24 | Araq | neither, to give away for free at OSCON |
11:14:32 | Araq | (right?) |
11:14:47 | dom96 | t-shirts are too expensive I think |
11:15:10 | dom96 | but yeah, stickers will be given out |
11:16:41 | dom96 | I think it would be cool to sell T-shirts online |
11:17:32 | Araq | true |
11:19:30 | * | elrood joined #nim |
11:29:10 | * | strcmp1 joined #nim |
11:29:42 | softinio | selling t-shirts and stickers online would be a good idea for sure |
11:31:38 | vegansk | What's wrong with "Option[lst.List[T]]" where lst: "import List as lst"? |
11:31:56 | vegansk | Error: could not resolve: []((nimtests.List|List.List), T) |
11:33:09 | Araq | you also have a nimtests.List? |
11:33:25 | vegansk | No! |
11:33:48 | Araq | well the compiler thinks you do :P |
11:34:17 | vegansk | It's https://github.com/nim-lang/Nim/issues/3333 |
11:35:24 | vegansk | Modified lines with import and proc definition, that cause the error |
11:36:03 | vegansk | Command line: ./koch temp c --verbosity:3 ~/work/nim/nimtests/issues/3333/types.nim |
11:36:28 | vegansk | Command line contains "nimtests" somewhere :-) |
11:36:31 | dom96 | Araq: Well? |
11:36:54 | Araq | dom96: 50 |
11:37:50 | dom96 | Araq: Just £8 more for 100 :P |
11:39:59 | dom96 | also, which size do you think would be best? smallest is 5cm x 5cm, biggest 15cm x 15cm. I'm thinking of getting 7.5cm x 7.5cm |
11:41:37 | Araq | hrm I think 5² is fine |
11:41:39 | Araq | bbl |
11:41:58 | dom96 | ok |
11:42:37 | * | strcmp1 quit (Ping timeout: 246 seconds) |
11:45:41 | * | Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png) |
11:46:03 | * | irrequietus quit () |
11:51:28 | * | irrequietus joined #nim |
11:52:43 | * | d3vil__ joined #nim |
11:55:33 | * | Jehan_ joined #nim |
11:57:01 | * | d3vil__ quit (Client Quit) |
11:57:16 | * | iamd3vil joined #nim |
12:01:29 | * | strcmp1 joined #nim |
12:06:51 | * | vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше)) |
12:07:22 | * | elrood quit (Quit: Leaving) |
12:07:51 | * | strcmp1 quit () |
12:16:13 | * | strcmp1 joined #nim |
12:18:26 | * | strcmp1 quit (Remote host closed the connection) |
12:19:43 | dom96 | Araq: we should probably aim to release today |
12:19:47 | dom96 | er |
12:19:55 | * | strcmp1 joined #nim |
12:19:55 | dom96 | by the end of this week |
12:24:01 | * | Sembei joined #nim |
12:24:34 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:31:25 | * | elrood joined #nim |
12:41:36 | dom96 | Impressed by how fast people responded http://forum.nim-lang.org/t/1655 |
12:46:05 | * | Zugulf joined #nim |
12:52:09 | * | strcmp1 quit (Remote host closed the connection) |
12:52:39 | * | strcmp1 joined #nim |
13:04:38 | softinio | what is a good resource to learn about aim's ast, templates and macros ? |
13:04:46 | softinio | nim's |
13:05:08 | Araq | softinio: tut 2 at least tells you how can figure out the ASTs on your own |
13:06:23 | softinio | @Araq ok thanks will look |
13:07:11 | yglukhov | Araq: does Nim do return value value optimization? |
13:07:24 | Araq | yglukhov: yes |
13:07:39 | yglukhov | is it done in semantics? |
13:08:15 | yglukhov | can i ask semantics to do that for js? |
13:08:52 | Araq | no. it's mostly done in the C backend |
13:09:37 | yglukhov | pity. it would be cool for js too. |
13:09:54 | yglukhov | do you think we could factor it out to semantics? |
13:10:26 | Araq | it's not easy. |
13:11:16 | Araq | the C backend knows that e.g. a tuple of strings is Nim-only and so rewrites x = foo() to foo(x) for this type |
13:11:35 | Araq | that is not valid for the JS target |
13:11:48 | Araq | as 'foo' might have been imported |
13:12:27 | * | FedeOmoto quit (Quit: Leaving) |
13:13:01 | * | FedeOmoto joined #nim |
13:13:27 | * | Ven joined #nim |
13:13:47 | yglukhov | i know. i'm thinking of the following concept. semantics engine should be configured by the backend. e.g. a backend could provide a predicate whether a proc symbol should be lambda-lifted. another predicate whether proc sym should be return-value-optimized, etc. |
13:14:12 | * | Sembei quit (Ping timeout: 264 seconds) |
13:15:04 | yglukhov | so thet backends will decide whether a sym should be optimized, by analizing the types. and semantics will do all the heavy lifting. |
13:15:13 | * | jaco60 joined #nim |
13:15:48 | Araq | doesn't really work, compile-time eval is a "backend within a backend" and has its own restrictions |
13:16:18 | Araq | also, you're describing an optimization pass, has nothing to do with semantics |
13:17:55 | yglukhov | ah, good point. can we factor it out to an optimization pass? ;) and then tweak it a bit to work with js? =)) |
13:18:41 | yglukhov | any keywords to start grepping? |
13:20:31 | Araq | you can factor it out, but it's a bad idea. just write it from scratch. |
13:21:15 | Araq | the logic in the C codegen is mostly based on ccgtypes.isInvalidReturnType iirc |
13:21:42 | * | strcmp1 quit (Ping timeout: 260 seconds) |
13:23:28 | * | strcmp1 joined #nim |
13:33:09 | Araq | dom96: can you test my nimble PR? |
13:35:27 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:41:04 | * | strcmp1 quit (Remote host closed the connection) |
13:42:16 | * | Ven joined #nim |
13:45:03 | * | BitPuffin joined #nim |
13:48:59 | * | Sembei joined #nim |
13:50:24 | NimBot | nim-lang/Nim devel 73279ab Araq [+0 ±2 -0]: added unicode.lastRun, unicode.graphemeLen |
13:50:24 | NimBot | nim-lang/Nim devel c04e17a Araq [+0 ±1 -0]: minor bugfix for transf pass after lambda-lifting |
13:50:24 | NimBot | nim-lang/Nim devel ba4dd92 Araq [+0 ±2 -0]: fixes regression: NimForum compiles again |
13:54:01 | * | strcmp1 joined #nim |
13:57:27 | * | pregressive joined #nim |
14:04:20 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:06:38 | * | strcmp1 quit (Remote host closed the connection) |
14:06:48 | * | UberLambda joined #nim |
14:11:03 | * | Sembei quit (Ping timeout: 255 seconds) |
14:13:12 | * | Sembei joined #nim |
14:13:56 | * | iamd3vil quit (Quit: Leaving) |
14:16:22 | * | Ven joined #nim |
14:25:44 | * | joelmo quit (Quit: Connection closed for inactivity) |
14:27:00 | * | BitPuffin quit (Ping timeout: 244 seconds) |
14:27:30 | * | pregressive quit (Remote host closed the connection) |
14:46:49 | * | pregressive joined #nim |
14:55:42 | * | HoloIRCUser4 joined #nim |
15:03:17 | * | pregressive quit (Remote host closed the connection) |
15:03:35 | * | pregressive joined #nim |
15:06:29 | * | Sembei quit (Ping timeout: 246 seconds) |
15:11:09 | * | gmpreussner|work joined #nim |
15:15:25 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:23:33 | * | Sembei joined #nim |
15:23:59 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
15:25:40 | * | smodo joined #nim |
15:34:55 | * | baf_ joined #nim |
15:36:04 | baf_ | Hi all. Please, tell me, how can I return null from proc if something goes wrong? |
15:37:11 | baf_ | For example, I am writing a function to read a file: proc readFile*(filename: string): string = |
15:37:17 | * | Sembei quit (Ping timeout: 256 seconds) |
15:37:53 | baf_ | And then I am creating fileStream: var f = newFileStream(filename, fmRead) |
15:38:37 | baf_ | So, how can I return nil if(f == nil) instead of empty string? |
15:38:52 | * | razaaa quit (Ping timeout: 246 seconds) |
15:41:57 | dom96 | hello baf_ |
15:42:19 | dom96 | if f == nil: return nil ? |
15:45:23 | baf_ | Ok, it works with string, but don't works with tables: Error: type mismatch: got (nil) but expected 'Table[string, string]' |
15:46:19 | * | razaaa joined #nim |
15:46:29 | dom96 | That's because Table[] is a value type |
15:46:34 | dom96 | so it can't be nil |
15:46:43 | dom96 | use TableRef or Option[T] |
15:48:39 | baf_ | Can you show me an example code with returning Table(Ref?) or nil, please? |
15:49:05 | * | BitPuffin joined #nim |
15:51:51 | reactormonk | baf_, Option[T] is easier. |
15:52:15 | reactormonk | baf_, if you want reference semantics, TableRef is the way to go. |
15:57:19 | * | HoloIRCUser4 quit (Read error: Connection reset by peer) |
15:57:27 | * | HoloIRCUser4 joined #nim |
16:01:47 | * | Zugulf quit (Read error: Connection reset by peer) |
16:03:10 | dom96 | baf_: https://gist.github.com/dom96/41663f1d3a0c8e7eaf2e |
16:06:45 | baf_ | dom96, thanks a lot! |
16:07:22 | * | elrood quit (Remote host closed the connection) |
16:07:23 | baf_ | reactormonk, thank you too, will also try this library |
16:16:36 | dom96 | np :) |
16:17:24 | * | Guest20403isaway is now known as Guest20403 |
16:18:16 | * | elrood joined #nim |
16:19:10 | dom96 | Araq: btw the bug that crashed NimBot is fixed :D |
16:19:20 | dom96 | so well done |
16:19:27 | * | dhertz joined #nim |
16:20:24 | * | Sembei joined #nim |
16:20:43 | * | jakesyl_mac quit (Read error: Connection reset by peer) |
16:21:21 | * | jakesyl_mac joined #nim |
16:23:51 | dhertz | Hi all |
16:24:34 | dhertz | Is there a way to tell nimble you'd like to use a package not in it's JSON? Like giving a github URL |
16:39:35 | * | yglukhov_ joined #nim |
16:43:37 | * | yglukhov quit (Ping timeout: 268 seconds) |
16:44:14 | * | yglukhov_ quit (Ping timeout: 268 seconds) |
16:46:46 | * | Sembei quit (Ping timeout: 246 seconds) |
16:50:16 | * | Sembei joined #nim |
16:54:58 | Araq | dhertz: not sure, but if not, it definitely is a planned feature |
16:55:05 | Araq | I think you can nimble install url |
17:01:34 | * | strcmp1 joined #nim |
17:13:51 | dom96 | dhertz: yep, you can nimble install git://github.com/dom96/jester for example |
17:30:12 | * | HoloIRCUser4 quit (Read error: Connection reset by peer) |
17:30:21 | * | HoloIRCUser4 joined #nim |
17:32:32 | * | HoloIRCUser6 joined #nim |
17:32:32 | * | HoloIRCUser4 quit (Read error: Connection reset by peer) |
17:34:24 | * | strcmp1 quit (Remote host closed the connection) |
17:37:00 | * | HoloIRCUser6 quit (Ping timeout: 264 seconds) |
17:39:50 | * | Sembei quit (Ping timeout: 240 seconds) |
17:40:35 | * | Jesin joined #nim |
17:44:00 | dhertz | dom96: there is there a way to add that to my component.nimble? |
17:44:16 | dom96 | yeah |
17:44:34 | dom96 | Under [Deps] |
17:44:53 | dom96 | Requires: "https://github.com/.../... >= 0.1.0" |
17:47:54 | * | Jehan_ quit (Quit: Leaving) |
17:48:30 | * | smodo quit (Remote host closed the connection) |
17:54:16 | dhertz | Awesome thanks |
17:54:30 | * | baf_ quit (Ping timeout: 246 seconds) |
18:01:00 | * | Sembei joined #nim |
18:13:19 | * | strcmp1 joined #nim |
18:18:37 | * | vendethiel joined #nim |
18:20:49 | * | UberLambda quit (Quit: GTG) |
18:21:28 | * | Matthias247 joined #nim |
18:25:55 | * | strcmp2 joined #nim |
18:29:08 | * | BitPuffin quit (Ping timeout: 246 seconds) |
18:29:33 | * | strcmp1 quit (Ping timeout: 256 seconds) |
18:30:25 | * | yglukhov joined #nim |
18:43:59 | * | jakesyl quit (Ping timeout: 264 seconds) |
18:56:02 | * | jakesyl joined #nim |
19:12:46 | * | darkf quit (Quit: Leaving) |
19:30:20 | * | jakesyl quit (Quit: Leaving) |
19:30:52 | * | jakesyl joined #nim |
19:31:23 | * | jakesyl quit (Remote host closed the connection) |
19:32:07 | * | jakesyl joined #nim |
19:36:41 | * | yglukhov quit (Remote host closed the connection) |
19:48:32 | * | yglukhov joined #nim |
20:03:46 | * | strcmp2 quit (Remote host closed the connection) |
20:15:47 | Araq | yay, more regressions |
20:21:11 | * | JStoker quit (Ping timeout: 256 seconds) |
20:25:31 | * | JStoker joined #nim |
20:27:08 | * | strcmp1 joined #nim |
20:31:28 | dhertz | Araq: Sorry :( |
20:32:55 | * | jefus is now known as jefus_ |
20:32:56 | * | jefus_ is now known as jefus |
20:34:58 | * | vendethiel quit (Ping timeout: 246 seconds) |
20:36:29 | Araq | sometimes I wonder ... |
20:36:58 | strcmp1 | about? |
20:37:03 | strcmp1 | the meaning of it all? |
20:37:04 | Araq | how can we have > 1000 tests and this regression at the same time? |
20:37:06 | strcmp1 | me too, me too |
20:37:14 | Araq | proc foo(a: openArray[int]) = |
20:37:16 | Araq | a[0..100] |
20:37:22 | Araq | Error: could not resolve: [](a, 0 .. 100) |
20:37:25 | Araq | WTF? |
20:37:27 | strcmp1 | oh i see. i'm a philsopher. im probably in the wrong place. |
20:39:10 | Araq | oh I see |
20:39:20 | Araq | we never supported that for openArrays |
20:39:23 | Araq | good. |
20:39:41 | strcmp1 | good:) |
20:41:48 | * | Roin quit (Ping timeout: 264 seconds) |
20:42:09 | * | razaaa quit (Quit: Leaving) |
20:45:04 | * | Roin joined #nim |
21:03:10 | * | strcmp1 quit (Ping timeout: 240 seconds) |
21:09:09 | * | vendethiel joined #nim |
21:15:54 | * | yglukhov quit (Remote host closed the connection) |
21:22:22 | * | Sembei quit (Ping timeout: 240 seconds) |
21:27:54 | * | Sembei joined #nim |
21:28:39 | * | Sembei quit (Client Quit) |
21:31:19 | * | async_prince joined #nim |
21:34:39 | * | dhertz quit (Ping timeout: 246 seconds) |
21:35:55 | * | Kingsquee joined #nim |
21:44:47 | * | vendethiel quit (Ping timeout: 246 seconds) |
21:47:56 | ryu0 | Araq: question. why did you design arrays with a declaration of a starting index when it's typically going to be 0? i've seen that in a few language but never saw the reason why, since arrays are normally declared with just a size or length, and indexed from 0 to length - 1. |
21:49:04 | Araq | ryu0: const lookupTable: array [enumValA..enumValZ, string] = ["A", "B", "Z"] |
21:49:14 | dom96 | Araq: 1k tests is really not much |
21:49:27 | dom96 | time to polish that test coverage tool |
21:49:34 | Araq | dom96: these are "compressed" tests though |
21:50:15 | Araq | also code coverage for the compiler is useless, there is hardly a single line in the compiler that wasn't added because some code required it |
21:51:59 | * | BitPuffin|osx joined #nim |
21:54:07 | * | gokr quit (Ping timeout: 256 seconds) |
21:56:50 | dom96 | not useless for the stdlib though |
21:59:57 | * | Guest20403 is now known as Guest20403isaway |
21:59:58 | Araq | ryu0: I agree that in retrospect it's somewhat overengineered. but array[3, int] works too, so *shrug* |
22:00:42 | ryu0 | Araq: is it only for convenience? |
22:01:17 | ryu0 | Araq: it looked like your example was a lookup table to convert enums to strings. |
22:01:52 | ryu0 | hm. |
22:11:42 | * | elrood quit (Quit: Leaving) |
22:20:00 | * | pregressive quit () |
22:41:29 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:43:18 | * | Demon_Fox joined #nim |
23:01:47 | * | Trustable quit (Remote host closed the connection) |
23:02:36 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:06:13 | * | Demon_Fox quit (Quit: Leaving) |
23:11:44 | * | strcmp1 joined #nim |
23:20:48 | * | jakesyl quit (Ping timeout: 264 seconds) |
23:26:18 | * | irrequietus quit () |
23:27:43 | * | yglukhov joined #nim |
23:32:35 | * | yglukhov quit (Ping timeout: 264 seconds) |