Skip to content

Instantly share code, notes, and snippets.

@mratsim
Created December 5, 2019 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mratsim/4d0ccfb89a0cec3fc12ec60eefa720ec to your computer and use it in GitHub Desktop.
Save mratsim/4d0ccfb89a0cec3fc12ec60eefa720ec to your computer and use it in GitHub Desktop.
import macros
proc foo() =
for i in 0 ..< 10:
for j in 0 ..< 10:
proc task(env: string) {.nimcall.} =
echo env
task("i: " & $i & ", j: " & $j)
foo()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment