Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
doc comments added to proc invocations dont appear in the generated html docs
Nim Version
06:21 AM (develop *+ u=)
$ nim -v
Nim Compiler Version 1.6.10 [Linux: amd64]
Compiled at 2022-11-21
Copyright (c) 2006-2021 by Andreas Rumpf
git hash: f1519259f85cbdf2d5ff617c6a5534fcd2ff6942
active boot switches: -d:release
Current Output
No response
Expected Output
No response
Possible Solution
i could use runnableExamples block, but that would defeat the purpose of inline documentation of proc invocations
Additional Information
echo "############################ impure sequtils"
var mutable = toSeq(1..10)
var mutated: string
proc echoMutated(): void = echo "seq: ", $mutable, "str: ", $mutated
echoMutated()
#
# none of the following comments appear in the html docs
#
mutable.apply x => x * x; echoMutated() ## \
## mutates its operand
mutable.apply x => mutated.addInt x; echoMutated() ## \
## mutates the string instead
mutable.delete 2..3; echoMutated() ## \
## inclusive from..to
Description
Nim Version
Current Output
No response
Expected Output
No response
Possible Solution
Additional Information