]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.tree.propagation: Use ... for example
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 17 Mar 2021 03:20:35 +0000 (22:20 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 17 Mar 2021 03:20:35 +0000 (22:20 -0500)
basis/compiler/tree/propagation/propagation-docs.factor

index 3670fa42daf10ee6578bccd2c2fa01353e43234f..56cb43c77607a2262cc19b7835487c00d92d46ea 100644 (file)
@@ -7,21 +7,21 @@ HELP: propagate
 { $examples {
     $unchecked-example
         "USING: compiler.tree.builder compiler.tree.propagation math prettyprint ;"
-        "[ 3 + ] build-tree propagate third ."
+        "[ 3 + ] build-tree propagate third ..."
         [[ T{ #call
     { word + }
-    { in-d V{ 9450187 9450186 } }
-    { out-d { 9450188 } }
+    { in-d V{ 25685700 25685699 } }
+    { out-d { 25685701 } }
     { info
         H{
             {
-                9450186
+                25685699
                 T{ value-info-state
                     { class fixnum }
                     { interval
                         T{ interval
-                            { from ~array~ }
-                            { to ~array~ }
+                            { from { 3 t } }
+                            { to { 3 t } }
                         }
                     }
                     { literal 3 }
@@ -29,14 +29,14 @@ HELP: propagate
                 }
             }
             {
-                9450187
+                25685700
                 T{ value-info-state
                     { class object }
                     { interval full-interval }
                 }
             }
             {
-                9450188
+                25685701
                 T{ value-info-state
                     { class number }
                     { interval full-interval }