]> gitweb.factorcode.org Git - factor.git/commitdiff
kernel: use ?call
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 25 Feb 2023 14:58:31 +0000 (08:58 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 23:11:04 +0000 (17:11 -0600)
basis/cocoa/pasteboard/pasteboard.factor
basis/xmode/marker/marker.factor
core/parser/parser.factor

index 752029872e6cb0e41f8a911638d7efbcca95e124..35ce7327596c8c1806defbdd48cb4f3068da465b 100644 (file)
@@ -12,7 +12,7 @@ CONSTANT: NSStringPboardType "NSStringPboardType"
 
 : pasteboard-string ( pasteboard -- str )
     NSStringPboardType <NSString> -> stringForType:
-    [ CF>string ] ?transmute ;
+    [ CF>string ] ?call ;
 
 : set-pasteboard-types ( seq pasteboard -- )
     swap <CFArray> -> autorelease f -> declareTypes:owner: drop ;
index 5c211affa4ebc281c07df26b2f5b2cdd7f383607..cb8cb364454c90327e89d34f86061baf57343684 100644 (file)
@@ -201,7 +201,7 @@ GENERIC: handle-rule-end ( match-count rule -- )
     context get
     [ in-rule-set>> escape-rule>> ] [
         parent>> in-rule-set>>
-        [ escape-rule>> ] ?transmute
+        [ escape-rule>> ] ?call
     ] ?unless ;
 
 : check-escape-rule ( rule -- ? )
index 002a52bd5b50c62d35944d254946d036cd7f93d6..5d9901440e4e94c2da7b45e6f795741f613fac24 100644 (file)
@@ -58,7 +58,7 @@ ERROR: number-expected ;
     [ [ string>number ] [ no-word ] ?unless ] ?unless ;
 
 : ?scan-datum ( -- word/number/f )
-    ?scan-token [ parse-datum ] ?transmute ;
+    ?scan-token [ parse-datum ] ?call ;
 
 : scan-datum ( -- word/number )
     ?scan-datum [ \ word throw-unexpected-eof ] unless* ;