<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,12 +38,15 @@ INSTANCE: fried-callable fried
         [ [ \ 3curry suffix! ] dip 3 - (ncurry) ]
     } case ;
 
+: wrap-non-callable ( obj -- quot )
+    dup callable? [ ] [ [ call ] curry ] if ; inline
+
 : [ncurry] ( n -- quot )
     [ V{ } clone ] dip (ncurry) &gt;quotation ;
 
 : [ndip] ( quot n -- quot' )
     {
-        { 0 [ ] }
+        { 0 [ wrap-non-callable ] }
         { 1 [ \ dip  [ ] 2sequence ] }
         { 2 [ \ 2dip [ ] 2sequence ] }
         { 3 [ \ 3dip [ ] 2sequence ] }</diff>
      <filename>basis/fry/fry.factor</filename>
    </modified>
    <modified>
      <diff>@@ -389,7 +389,7 @@ M:: integer lambda-method-forget-test ( a -- b ) a ;
     eval( -- ) call
 ] [ error&gt;&gt; &gt;r/r&gt;-in-fry-error? ] must-fail-with
     
-:: (funny-macro-test) ( obj quot -- ? ) obj { quot } 1&amp;&amp; ; inline
+:: (funny-macro-test) ( obj quot -- ? ) obj { [ quot call ] } 1&amp;&amp; ; inline
 : funny-macro-test ( n -- ? ) [ odd? ] (funny-macro-test) ;
 
 \ funny-macro-test def&gt;&gt; must-infer</diff>
      <filename>basis/locals/locals-tests.factor</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c00b1df581d673d7b35ea97f10bd99b1450ba5e4</id>
    </parent>
  </parents>
  <author>
    <name>Joe Groff</name>
    <email>arcata@gmail.com</email>
  </author>
  <url>http://github.com/slavapestov/factor/commit/4bea896be97e196da87a8c1142e067dbe15f0c8b</url>
  <id>4bea896be97e196da87a8c1142e067dbe15f0c8b</id>
  <committed-date>2009-11-08T19:00:35-08:00</committed-date>
  <authored-date>2009-11-08T19:00:35-08:00</authored-date>
  <message>patch up locals fry tests</message>
  <tree>973fca7b511de3dd3bb869278fb1e3100db4b823</tree>
  <committer>
    <name>Joe Groff</name>
    <email>arcata@gmail.com</email>
  </committer>
</commit>
