Re: var param vs tuple as return value

2017-01-25 Thread strikr
+1 Michal. The _success_ of 'Nim' is the _success_ of all of us who are interested in the learning and contributing to the language and the community !

Re: var param vs tuple as return value

2017-01-25 Thread strikr
+1 Michal.

Re: & operator to concatenate strings

2017-01-25 Thread strikr
@gokr and @Araq .. thanks for taking out time to share the nim language perspective.

Re: Error: ambiguous identifier: 'int' --use system.int or unknown.int

2017-01-25 Thread strikr
Ohh ... files shouldn't be named with any datatype i suppose !

Re: space after inc triggers a warning during compilation

2017-01-25 Thread strikr
does that mean "no space between function name 'f' and opening parenthesis (" f( ) is _the_ way to write a function call ? would you recommend a _lint_ like tool that i can run on the code to learn about these aspects of nim ?

Error: ambiguous identifier: 'int' --use system.int or unknown.int

2017-01-25 Thread strikr
or is seen $ nim compile int.nim Hint: used config file '/home/strikr/source-nim/nim/config/nim.cfg' [Conf] Hint: system [Processing] Hint: int [Processing] int.nim(4, 22) Warning: a [b] will be parsed as command syntax; spacing is deprecated [Deprecated] int.n

& operator to concatenate strings

2017-01-25 Thread strikr
Does anybody know, why '_&_' and not '_+_' was chosen as the operator to concatenate strings ?

var param vs tuple as return value

2017-01-25 Thread strikr
is there any performance difference between using var parameters versus tuple as a return value ?

space after inc triggers a warning during compilation

2017-01-25 Thread strikr
writing an increment as inc (i) instead of inc(i) triggers a warning inc2.nim(8, 9) Warning: a [b] will be parsed as command syntax; spacing is deprecated [Deprecated] what's the reason ?

Re: unable to build PDF documentation

2017-01-24 Thread strikr
using this point as the reference of query, a link on arch linux forum was discovered [https://bbs.archlinux.org/viewtopic.php?id=91655](https://bbs.archlinux.org/viewtopic.php?id=91655) SOLUTION the following steps were undertaken. * re-install texlive-fontsextra (sudo pacman -S

Re: unable to build PDF documentation

2017-01-24 Thread strikr
i took the following approach to troubleshooting the situation. Instead of running the command ./koch pdf or pdflatex doc/manual.tex i tried the following steps cd doc latex manual.tex dvips manual.dvi ps2pdf manual.pdf as the

Re: unable to build PDF documentation

2017-01-24 Thread strikr
There is no ~/.texlive directory !

Re: unable to build PDF documentation

2017-01-24 Thread strikr
texlive-fontsextra is installed. [strikr@victory ~]$ sudo pacman -S -s texlive-fontsextra extra/texlive-fontsextra 2016.42286-1 (texlive-most) [installed] TeX Live - all sorts of extra fonts

Re: unable to build PDF documentation

2017-01-24 Thread strikr
yes, arch linux is the platform and 'nim' sources were 'git clone'd directly from github [https://github.com/nim-lang/nim](https://github.com/nim-lang/nim) _instead_ of arch aur nim-git. [strikr@victory ~]$ uname -a Linux victory 4.9.5-1-ARCH #1 SMP PREEMPT

Re: unable to build PDF documentation

2017-01-24 Thread strikr
running pdflatex doc/manual.tex shows a _missing_ font ... kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+120/600 --dpi 720 ec-lmbxi10 mktexpk: don't know how to create bitmap font for ec-lmbxi10. mktexpk: perhaps ec-lmbxi10 is missing from the map file. kpat

Re: unable to build PDF documentation

2017-01-24 Thread strikr
a quick search with pacman shows that the font _is_ installed as it is part of the _texlive-core_ package. [strikr@victory nim]$ sudo pacman -Q -l texlive-core |grep ec-lmbxi10 texlive-core /usr/share/texmf-dist/fonts/tfm/public/lm/ec-lmbxi10.tfm

unable to build PDF documentation

2017-01-23 Thread strikr
post git clone, i am trying to build the PDF documentation. [strikr@victory nim]$ ./koch pdf Adding to $PATH: /home/strikr/source-nim/nim/bin bin/nim cc -r tools/nimweb.nim --pdf web/website.ini --putenv:nimversion=0.16.0 Hint: used config file '