]> gitweb.factorcode.org Git - factor.git/commitdiff
prettyprint: change -> to => for newparser and -> cocoa syntax. Alternatives are...
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 16 Aug 2015 17:57:40 +0000 (10:57 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 16 Aug 2015 17:59:03 +0000 (10:59 -0700)
basis/prettyprint/prettyprint.factor

index b5b8ba2e67f797c0e7f1386b8a7f8ee308ff2b87..d02144a600a28aae6c49df6fb899793d838dc08f 100644 (file)
@@ -54,9 +54,9 @@ IN: prettyprint
 
 <PRIVATE
 
-SYMBOL: ->
+SYMBOL: =>
 
-\ ->
+\ =>
 { { foreground COLOR: white } { background COLOR: black } }
 "word-style" set-word-prop
 
@@ -76,7 +76,7 @@ SYMBOL: ->
     ] [ ] make ;
 
 : remove-breakpoints ( quot pos -- quot' )
-    1 + short cut [ (remove-breakpoints) ] bi@ [ -> ] glue ;
+    1 + short cut [ (remove-breakpoints) ] bi@ [ => ] glue ;
 
 : optimized-frame? ( triple -- ? ) second word? ;