Re: Some quick questions.

2005-02-05 Thread Autrijus Tang
On Sat, Feb 05, 2005 at 06:52:49AM -0800, Larry Wall wrote: > Hmm, I believe I said somewhere that references are no longer always true > in Perl 6. So perhaps it's not an exception after all. We're trying > to get rid of as many useless exceptions as possible in Perl 6, after all. Yes, the rele

Re: Some quick questions.

2005-02-05 Thread Larry Wall
On Sat, Feb 05, 2005 at 02:08:32PM +0800, Autrijus Tang wrote: : On Sat, Feb 05, 2005 at 04:44:41AM +0800, Autrijus Tang wrote: : > * What is the value of a reference in any of the scalar contexts? : > : > Currently I'm blindly dereferencing it. : : It seems that I got four out of five correc

Re: Some quick questions.

2005-02-04 Thread Autrijus Tang
On Sat, Feb 05, 2005 at 04:44:41AM +0800, Autrijus Tang wrote: > * What is the value of a reference in any of the scalar contexts? > > Currently I'm blindly dereferencing it. It seems that I got four out of five correct; the "blind referencing" has an important exception in the references are

Some quick questions.

2005-02-04 Thread Autrijus Tang
Today I have finished implementing 90% of primitive operators; Pugs can now evaluate most simple expressions, including junctive autothreading and magical/infinite ranges. Their implementation are in: http://wagner.elixus.org/~autrijus/darcs/pugs/Prim.hs As such, there are some corner cases