diff --git a/basis/tools/annotations/annotations.factor b/basis/tools/annotations/annotations.factor index 96c2ec2fcc..6a7e33e615 100755 --- a/basis/tools/annotations/annotations.factor +++ b/basis/tools/annotations/annotations.factor @@ -3,7 +3,7 @@ USING: accessors kernel words parser io summary quotations sequences prettyprint continuations effects definitions compiler.units namespaces assocs tools.walker generic -inspector ; +inspector fry ; IN: tools.annotations GENERIC: reset ( word -- ) @@ -49,10 +49,7 @@ M: word reset .s ] if* "\\--" print flush ; -: (watch) ( word def -- def ) - over [ entering ] curry - rot [ leaving ] curry - swapd 3append ; +: (watch) ( word def -- def ) over '[ _ entering @ _ leaving ] ; : watch ( word -- ) dup [ (watch) ] annotate ;