[Rd] callCC in 2.7.0
h.wickham at gmail.com
h.wickham at gmail.com
Sun Mar 30 18:04:25 CEST 2008
> Would anyone like to explain if callCC in R 2.7.0 gives
> anything that on.exit does not already provide?
>
> It seems that the exit condition once defined cannot
> be added to overridden whereas with on.exit multiple
> on.exit's add additional on.exits rather than being ignored.
>
> Is this important?
It facilitates a completely different style of programming - see
http://en.wikipedia.org/wiki/Continuation-passing_style
--
http://had.co.nz/
More information about the R-devel
mailing list