After some looking into the paths-module, I noticed that you can convert string 
to Path-type like so: Path(mystring). Backwards you can convert Path-type to 
string like so: string(myPath). Conversion with $ doesnt work. Apparently $ is 
just an alias, which implementations walk behind the offical string-function. 
However when entering in the standard-lib the string-function is not found.

  * Does this mean that the string-function is a nim-core api-function and it 
can not be found thru the libs search webpage?
  * If so, is there another way to find it?
  * Should there not be enough separation between names, like in this case 
between string as type and as function? Like for example toString for the 
function. Looking for string + conversion gives false positives from the 
string-type.



I found it because because I asked (and suddenly remembered) a similar question 
in the past :-) <https://forum.nim-lang.org/t/9615#63168>

Apart from this I think Nim is a beautiful language. :-) 

Reply via email to