]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/interpolate/interpolate.factor
interpolate: don't break backwards compatibility.
[factor.git] / basis / interpolate / interpolate.factor
index c1595e2a3749589066f6560d20599bd87355696d..ccfcf6c7f27ff4439858656b74d9840019bbc633 100644 (file)
@@ -57,11 +57,11 @@ TUPLE: stack-var n ;
 
 PRIVATE>
 
-MACRO: interpolate. ( str -- )
+MACRO: interpolate ( str -- )
     [ [ get ] ] interpolate-quot ;
 
-: interpolate ( str -- newstr )
-    [ interpolate. ] with-string-writer ; inline
+: interpolate>string ( str -- newstr )
+    [ interpolate ] with-string-writer ; inline
 
 : interpolate-locals ( str -- quot )
     [ dup search [ [ ] ] [ [ get ] ] ?if ] interpolate-quot ;