withDir() feels very useful on NimScript, being a simple tiny template,
I was wondering if is possible to also have it on Compiled Nim std lib, just 1 convenience proc,
should be relatively easy, same API, same Documentation, same Examples, just moved into Nim.
:)
Maybe in std/scripting
Along with other procs intended to write high level scripts, std/os staying a bit lower level to avoid kitchen sink; eg:
|)I dont have an opinion on where it should live, as long as I can import it and use it on compiled Nim.
:smile:
I want this function too. Where should I place this function? std/scripting or in fusions?
I use it all the time too... It should be in fusion / scripting, I think.
Most helpful comment
Maybe in std/scripting
Along with other procs intended to write high level scripts, std/os staying a bit lower level to avoid kitchen sink; eg:
|)