]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/easy-help/easy-help.factor
easy-help: Add 'List:'
[factor.git] / extra / easy-help / easy-help.factor
index ddb8f210e4daa47e5f89c1b21a4c94a959bb2162..151e66380d38a337d52f497c896683a58ea18554 100644 (file)
@@ -96,3 +96,16 @@ IN: easy-help
 
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+: List:
+
+  { $list }
+
+  ".." parse-multiline-string
+  string-lines
+  1 tail
+  [ dup "    " head? [ 4 tail ] [ ] if ] map
+  [ expand-markup ] map
+
+  append parsed
+
+  ; parsing