Hi,

You can do

[ swap ] swap compose

On 10-Oct-07, at 7:40 PM, Samuel Tardieu wrote:

> On a related topic, would the following be efficient?
>
>   : curry* ( param obj quot -- obj curry )
>     rot [ , \ swap , % ] [ ] make ; inline

Well, it's not inefficient because it calls optimized sequence words,  
but the optimizing compiler is not able to infer the stack effect  
that would result from calling this quotation.

In most cases it is not necessary to write code which constructs  
quotations at all. Chances are you can simplify your stack effect and  
express what you need using built-in combinators.

What are you coding?

Slava

>
>   Sam
> -- 
> Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to