Re: [Factor-talk] What exactly is the retain stack?

2014-05-16 Thread Joe Groff
On Fri, May 16, 2014 at 7:38 AM, Björn Lindqvist wrote: > 2014-05-16 0:29 GMT+02:00 Jon Purdy : > >> Is that it's only use? Then why? dip can easily be formulated using > >> non-retain stack using primitives: > >> > >> For example: "a" "b" "c" [ append ] dip -> "a" "b" "c" -rot append swap > >> >

Re: [Factor-talk] What exactly is the retain stack?

2014-05-16 Thread Rupert Swarbrick
Björn Lindqvist writes: > Hi! > > Is that it's only use? Then why? dip can easily be formulated using > non-retain stack using primitives: > > For example: "a" "b" "c" [ append ] dip -> "a" "b" "c" -rot append swap What if the contents of the quotation use more than one item from the stack? How w

Re: [Factor-talk] What exactly is the retain stack?

2014-05-16 Thread Björn Lindqvist
2014-05-16 0:29 GMT+02:00 Jon Purdy : >> Is that it's only use? Then why? dip can easily be formulated using >> non-retain stack using primitives: >> >> For example: "a" "b" "c" [ append ] dip -> "a" "b" "c" -rot append swap >> > > That implementation assumes the quotation takes two operands and >