]> gitweb.factorcode.org Git - factor.git/blobdiff - core/source-files/source-files-docs.factor
help.markup: adding a $slots word to document slots, use it.
[factor.git] / core / source-files / source-files-docs.factor
index c473f6d2cf8b21f504c34eaff743282d10c37509..cb5224a0a3c3d5577a81cb4892b2dc15135185ed 100644 (file)
@@ -31,12 +31,12 @@ HELP: path>source-file
 
 HELP: source-file
 { $class-description "Instances retain information about loaded source files, and have the following slots:"
-    { $list
-        { { $slot "path" } " - a pathname string." }
-        { { $slot "top-level-form" } " - a " { $link quotation } " composed of any code not used to define new words and classes" }
-        { { $slot "checksum" } " - the CRC32 checksum of the source file's contents at the time it was most recently loaded." }
-        { { $slot "definitions" } " - a pair of assocs, containing definitions and classes defined in this source file, respectively" }
-        { { $slot "main" } " - a word that gets called if you " { $link run } " the vocabulary" }
+    { $slots
+        { "path" { "a pathname string." } }
+        { "top-level-form" { " - a " { $link quotation } " composed of any code not used to define new words and classes" } }
+        { "checksum" { "the CRC32 checksum of the source file's contents at the time it was most recently loaded." } }
+        { "definitions" { "a pair of assocs, containing definitions and classes defined in this source file, respectively" } }
+        { "main" { "a word that gets called if you " { $link run } " the vocabulary" } }
     }
 } ;