Dear All,

As my first try in Nim, I'm wrapping libRmath (actually a patched version 
[https://github.com/JuliaLang/Rmath-julia)](https://github.com/JuliaLang/Rmath-julia\)).
 I have used c2nim to process the header. If there is a true/false argument in 
the function (as cint), how can I use Nim's bool type - automatic conversion to 
0/1 doesn't happen.

In general, is it better to make a low-level library, then write a higher level 
one that contains type conversions, default arguments, etc.? If so, what's the 
best way to do this?

Best Simon

Reply via email to