From: "Mauricio Fernández" Date: 2003-04-03T03:10:43+09:00 Subject: Re: April Fools. On Wed, Apr 02, 2003 at 07:03:13AM +0900, Jim Freeze wrote: > On Wednesday, 2 April 2003 at 6:47:55 +0900, Hal E. Fulton wrote: > > We already have =, ==, and ===. I propose > > we add ==== and =====. The two new operators > > would have semantics of "these are are really, > > really equal, no joke" and "these are so equal > > they're pretty much the same damn thing" > > respectively. > > > > LOL on this one. > > > Ruby needs a goto. In the spirit of orthogonality, > > let's also add a comefrom. > > So, Hal, just how would I use a 'comefrom' command? > Kinda non-causal, don't you think? :) I really don't know how we could live for so long without DISCONTINUATIONS In fact I implemented it already, here's what I told my local version of ri about it: --------------------------------------------------------- Kernel::calldc calldc {| cont | block } -> anObject ------------------------------------------------------------------------ Generates a Discontinuation object, which it passes to the associated block. Performing a cont.call will not cause the calldc to return (as won't falling through the end of the block). The value returned by the callcc is not the value of the block, nor the value passed to cont.call. See Continuation on page 298 for other details. Also see Kernel::throw for a mechanism for unwinding a call stack. You will agree, I am sure, on the extreme power of calldc. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com On the Internet, no one knows you're using Windows NT -- Submitted by Ramiro Estrugo, restrugo@fateware.com