]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/prettyprint/backend/backend.factor
sequences: Add 1surround which is dup surround
[factor.git] / basis / prettyprint / backend / backend.factor
index 56200756c0160f344f208b009071772bc7448e16..c9186556971e6fd0d0ff9c20955635e5b93758ed 100644 (file)
@@ -157,7 +157,7 @@ M: pathname pprint*
 : check-recursion ( obj quot: ( obj -- ) -- )
     nesting-limit? [
         drop
-        [ class-of name>> "~" dup surround ] keep present-text
+        [ class-of name>> "~" 1surround ] keep present-text
     ] [
         over recursion-check get member-eq? [
             drop "~circularity~" swap present-text