Anonymous user
Reflection/List properties: Difference between revisions
m
Formatting.
m (→{{header|Nim}}) |
m (Formatting.) |
||
Line 494:
b: string
c: seq[int]
let f = Foo(a: 0.9, b: "hi", c: @[1,2,3])
for n, v in f.fieldPairs:
echo n, ": ", v</lang>
{{out}}
<pre>a: 0.9
|