Paste: propagation limitation

Author: slava
Mode: factor
Date: Thu, 29 Apr 2010 06:10:28
Plain Text |
: foo-1 ( a -- ? ) dup array? [ length ] [ drop 0 ] if ;
:: foo-2 ( a -- ? ) a array? [ a length ] [ 0 ] if ;

! foo-1 inlines 'length' but foo-2 does not

New Annotation

Summary:
Author:
Mode:
Body: