There is a way to hide this, but I don't know if it's a good idea for your use 
case.
    
    
    proc sideEffect(a, b: string) = echo a, b
    
    proc lacksSideEffect() {.noSideEffect.} =
      cast[proc (a, b: string) {.nimcall, noSideEffect.}](sideEffect)()
    

Reply via email to