Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: MIT article on rebol and other languages

From: joel:neely:fedex at: 19-Feb-2002 6:28

Hi, Ladislav, Ladislav Mecir wrote:
> The continuations are like the tail recursion, they were > present in 1.x version, but they aren't there now. >
Do you (or anyone else) have any information on how tail recursion was handled in 1.x? I'd be really interested in anything available...
> As opposed to the tail recursion, nobody > seems to be missing them... >
With all due respect to present company, perhaps it's due to the fact that continuations are not that well known. TRY covers some of the common uses, but there are still interesting applications (I think of things like Rugby...) Again, just for my own edification, I'd really appreciate anything anyone has on how that was done/appeared in 1.x. -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e ":" "." "#" "@"] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} print head reverse despam "moc:xedef#yleen:leoj" ;