Re: [Factor-talk] Efficient way of adding a word in front of a quotation

2007-10-11 Thread Samuel Tardieu
Slava == Slava Pestov [EMAIL PROTECTED] writes: Slava What are you coding? Nothing particular yet, just playing. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/ - This SF.net email is sponsored

Re: [Factor-talk] Efficient way of adding a word in front of a quotation

2007-10-10 Thread Slava Pestov
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