Re: Nim in Action is now available!

2016-11-03 Thread dom96
Hello @gneu and thank you for purchasing my book. I have made a conscious decision to omit some things from the book, Nim is a large language and space is limited. Unfortunately term rewriting macros/templates didn't make the cut. The reason is that I personally haven't used them much, as such

Re: Nim in Action is now available!

2016-11-03 Thread gneu
Well then let's see if we can re-evaluate their relevance when you're going to write the second edition... ;)

Re: GTK 3.20 Nim wrapper

2016-11-03 Thread Stefan_Salewski
> One thing I lack - RSVG Nim wrapper Let us know when you really need that. I think that lib is not that large, so it should not be much work to build the wrapper. Have you already solved your gtksourceview missing lib problem? I saw your github issue -- but one line comment that you can not

Re: GTK 3.20 Nim wrapper

2016-11-03 Thread vlad1777d
Thank you, I'll try to buy the book some time. 20 dollars is really not much. If it would be in my language - I would even ask a digital version of it. But in English it's not really good to read it. I use translator through every 2-3 sentences. I had already read tutorials and manual, I

Re: Nim in Action is now available!

2016-11-03 Thread gneu
@dom96: I'm a proud owner of your book since just a few minutes ago. To be honest, I did not read through this whole thread, so I'm not sure if my following remark was already discussed: What I'm missing at first look into chapter 9 is the topic "term rewriting templates". As a novice to Nim

Re: GTK 3.20 Nim wrapper

2016-11-03 Thread Stefan_Salewski
When that is already a problem for you, you should ask yourself if you really need GTK. Do you have already much experience with GTK? You may know that GTK community is not very active currently, so it is very difficult to get help. The Krause book is only for GTK2, and the online API docs are

Re: typed values from c pointer

2016-11-03 Thread jlp765
Thanks @Araq, I needed that code also.

Re: Compile time calculated/dependend types

2016-11-03 Thread gneu
Ok, seems like I just did not test the cases that are not working ;) I think it has nothing to do with the wrapped types or the template at all. It is just the + operator that makes problems. And now things are getting really strange: import typetraits template