]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/literals/literals-docs.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / literals / literals-docs.factor
index 9ec8e30133f5df95d918eaabc0a965e2d59f2943..1caa4b746fa59947e0822cac7c88b0ee020a4bf9 100644 (file)
@@ -38,7 +38,7 @@ USING: kernel literals math prettyprint ;
 IN: scratchpad
 
 << CONSTANT: five 5 >>
-{ $[ five dup 1+ dup 2 + ] } .
+{ $[ five dup 1 + dup 2 + ] } .
     "> "{ 5 6 8 }" }
 
 } ;
@@ -69,7 +69,7 @@ USE: literals
 IN: scratchpad
 
 CONSTANT: five 5
-{ $ five $[ five dup 1+ dup 2 + ] } .
+{ $ five $[ five dup 1 + dup 2 + ] } .
     "> "{ 5 5 6 8 }" }
 { $subsection POSTPONE: $ }
 { $subsection POSTPONE: $[ }