Author: | mrjbq7 |
---|---|
Mode: | factor |
Date: | Tue, 9 Aug 2011 05:07:47 |
USING: combinators kernel quotations sequences ; : foo ( seq -- seq' ) [ dup callable? [ call( x -- y ) ] when ] map ;
Author: | mrjbq7 |
---|---|
Mode: | factor |
Date: | Tue, 9 Aug 2011 05:08:11 |
Asset: foo The input quotations to “if” don't match their expected effects Input Expected Got [ call ] (( ..a -- ..b )) (( x -- x )) [ drop ] (( ..a -- ..b )) (( -- x ))