template and proc with same name

2016-07-02 Thread Stefan_Salewski
type T = Rootobj T2 = object of T i: int var t: T2 proc a(o: T) = echo "proc a" #template a(o: expr) = # echo "template a" a(t) Output is proc a When I uncomment the template, I get

Re: Aporia output color

2016-07-02 Thread Dippo
I did found out that the problem lies in my deskop theme. If somebody knows a soluion to change the background in the output window in Aporia, then i will gladly hear.

Re: Go: Embedding provides automatic delegation.

2016-07-02 Thread enurlyx
I would like to see this feature too!

Aporia output color

2016-07-02 Thread Dippo
Hi all, I am using Aporia since a week and i am so far very happy with it, but i have one problem with it and i can't find a solution for it. I can barely read the output window because the background of this window (element) is dark grey and the text in it is also grey (not light grey but

Vindinium starter kit

2016-07-02 Thread akamaus
Nim programming games day goes on ;) Here's some [code](https://github.com/akamaus/vindinium-nim-starter-kit) capable of connecting to [Vindinium](http://forum.nim-lang.org/\\vindinium.org) game server. Sample bot included.

Re: Concepts, name resolution and polymorphic behavior

2016-07-02 Thread akamaus
Wow! Looks like an acceptable solution to me. Hope Grid doesn't get copied during conversion.

Re: Nim in Action is now available!

2016-07-02 Thread dom96
Looks like the deal is still available with the code `wm070216lt`.

Re: Go: Embedding provides automatic delegation.

2016-07-02 Thread OderWat
+1 PLEASE

Go: Embedding provides automatic delegation.

2016-07-02 Thread Stefan_Salewski
[http://golangtutorials.blogspot.de/2011/06/inheritance-and-subclassing-in-go-or.html](http://forum.nim-lang.org///golangtutorials.blogspot.de/2011/06/inheritance-and-subclassing-in-go-or.html)

Re:

2016-07-02 Thread axben
Hey, come on - I'm a lazy bump ;)

Nim module for the game Screeps

2016-07-02 Thread OderWat
I have some fun to develop a Nim module which lets you write Screeps programs with Nim (instead of JavaScript. The module is not ready for a major release but useable if you are curious. After the API is mostly done I will put it on Nimble. [Nim-Screeps](https://github.com/oderwat/nim-screeps)

Re: Split at an empty separator does not work

2016-07-02 Thread fallingduck
Thanks Garry_Galler for mentioning my [sequester](https://github.com/fallingduck/sequester) module so I don't have to ;)

Re: Split at an empty separator does not work

2016-07-02 Thread Garry_Galler
**Araq**, Ok. Then, I think you just need to bring to the behavior of some natural language for the behavior in case of empty separator. In some languages ​​it is permissible: javascript: console.log("test".split("")); [ 't', 'e', 's', 't' ] julia:

Re: Split at an empty separator does not work

2016-07-02 Thread Garry_Galler
**dom96**, I'm not against. Let there be an immediate error, it's better than an endless loop :). And it should be clearly reflected in the documentation.

Re: Split at an empty separator does not work

2016-07-02 Thread dom96
In Python: >>> "asd qw asd".split("") Traceback (most recent call last): File "", line 1, in ValueError: empty separator Let's adopt this behaviour.