Reflection/Get source: Difference between revisions
→{{header|Factor}}: show how to obtain the line number where a word is defined
(Added Go) |
(→{{header|Factor}}: show how to obtain the line number where a word is defined) |
||
Line 55:
"resource:core/sequences/sequences-tests.factor"
}
</pre>
Obtaining the path and line number where a word is defined:
<lang factor>"loc" \ dip props>> at</lang>
{{out}}
<pre>
{ "resource:core/kernel/kernel.factor" 111 }
</pre>
|