docgen_sample.nim 205 B

12345678910111213
  1. ## This module is a sample.
  2. import strutils
  3. proc helloWorld*(times: int) =
  4. ## Takes an integer and outputs
  5. ## as many "hello world!"s
  6. for i in 0 .. times-1:
  7. echo "hello world!"
  8. helloWorld(5)