Re: Documentation contribution

2017-07-23 Thread jlp765
Most System documents have two links following each "section": _Source_ _Edit_ Clicking on the `Edit` link will create a new Pull Request with the changes you make

Re: Documentation contribution

2017-07-23 Thread def
Pull request on the devel branch of [https://github.com/nim-lang/nim](https://github.com/nim-lang/nim)

Documentation contribution

2017-07-23 Thread aedt
What is the proper way to contribute to the documentation of the standard library?

Re: Thoughts on imports

2017-07-23 Thread LeuGim
> Writing `from blah import nil` for every import is ugly Probably less idiomatic/encouraged way should not be absolutely the same easy, as more idiomatic. So two extra words for the whole imports list should be OK, it could be like this: `from xxx, yyy import nil`.

Re: Thoughts on imports

2017-07-23 Thread Libman
Looks like my `load` macro example has become `require` [on Reddit](https://www.reddit.com/r/nim/comments/6p0q72/help_with_a_macro/) (which I am now boycotting, along with the rest of social media, due to the _still_-unexplained [shadow censorship

Re: Thoughts on imports

2017-07-23 Thread mapi
@Libman Oh man, I've spend this whole day learning about how macros in Nim work only to recreate the exact same macro you've listed. Only I used `require` for its name. Too bad it doesn't read args from the next line like usual sections can.

Re: Thoughts on imports

2017-07-23 Thread Araq
> Yeah, unused imports still increase binary size despite deadCodeElim > (--d:release --opt:size). In a perfect world that would not be the case... How so? That needs to be fixed then.

Re: Thoughts on imports

2017-07-23 Thread Libman
> if the condition is never met importing xyz is wasteful Yeah, unused imports still increase binary size despite deadCodeElim (`--d:release` `--opt:size`). In a perfect world that would not be the case... * * * > you can use `from math import nil` Yup. But I

Re: String pattern matching / regular expression libs

2017-07-23 Thread Libman
Semi-related to this discussion: I just added Nim to the "Languages" section of Wikipedia's [[[Comparison of regular expression engines]]](https://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines). Someone more knowledgeable may wish to review and complete the "Language

Re: Having a hard time getting raylib bindings to work

2017-07-23 Thread def_pri_pub
I use ubuntu (well, xubuntu... technically). I doubt it's a bug on their side. Someone else would have tripped over this way before I would have and fixed it too.