Re: Retry: ITypes and VTypes.

2005-02-04 Thread Autrijus Tang
On Thu, Feb 03, 2005 at 03:59:06PM -0800, Brent 'Dax' Royal-Gordon wrote: > Autrijus Tang <[EMAIL PROTECTED]> wrote: > > However, I'd still like to know whether my understanding on punning > > (same class 'Array' used as both Implementation Type and Value Type) > > and the validity of matching on "

Re: Retry: ITypes and VTypes.

2005-02-04 Thread Autrijus Tang
On Fri, Feb 04, 2005 at 06:04:52PM +0800, Autrijus Tang wrote: > my @array of Array; > my @array is Array of (Any is Array of (Any is Scalar)) > > If so, may I consider it as equivalent to this Haskell code? > > class TArray baseVtype elemVtype where {- ... -} -- Array Trait > cla

Standard value types in S06.

2005-02-04 Thread Autrijus Tang
"Pair", "Junction" and "Undef" are not list among Perl6's standard types in S06. I'm assuming that they are actually basic types for now; if that is the case, below is a patch to say that. Thanks, /Autrijus/ --- S06.pod.origFri Feb 4 04:29:34 2005 +++ S06.pod Fri Feb 4 19:32:53 200

Re: Retry: ITypes and VTypes.

2005-02-04 Thread Autrijus Tang
On Fri, Feb 04, 2005 at 01:00:33PM +0100, Miroslav Silovic wrote: > The problem (in general) with this requirement is that it conflicts with > inhericance. Perl6 allows you to extend any type (using 'but' operator, > for example) and so, any time you promise that something will be of a > certain

Re: Phalanxed

2005-02-04 Thread James E Keenan
Michael G Schwern wrote: Anyhow, point is I know what the Phalanx project is but other authors might not. It may be a good idea to send out a little note to authors who have been Phalanxed explaining what the Phalanx project is all about and letting them know they might see a sudden spike in test

Re: Phalanxed

2005-02-04 Thread Jeff Bisbee
* Jeff Bisbee ([EMAIL PROTECTED]) wrote: > This is the boilerplate our group put together to use when contacting > authors. Forgot the darn link! http://phalanx.kwiki.org/index.cgi?ContactTheAuthor -- Jeff Bisbee / [EMAIL PROTECTED] / jbisbee.com

Read array or hash value from file

2005-02-04 Thread Thu Trieu
Does perl provides function to write array or hash data to file and be able to get them back to variable ? This can be done easily from Vb6 for instance, please do not guide me by using Mysql, I mean exporting to a raw "txt" file. Somethings like below: (illustrate by php) $a= array[1..

Re: Retry: ITypes and VTypes.

2005-02-04 Thread Miroslav Silovic
[EMAIL PROTECTED] wrote: However, I wonder how to talk about an array that can contain elements of any value type, but all the elements must have the same type. Is Perl6 capable of expressing such a restraint? Thanks, /Autrijus/ The problem (in general) with this requirement is that it conflicts

Re: Read array or hash value from file

2005-02-04 Thread Nicholas Clark
On Fri, Feb 04, 2005 at 03:24:19AM -0800, Thu Trieu wrote: > Does perl provides function to write array or hash data to file and be able > to get them back to variable ? I think you're asking this question in completely the wrong place. This is a list for discussing the specifications of the yet-

Re: Phalanxed

2005-02-04 Thread Michael G Schwern
On Thu, Feb 03, 2005 at 10:13:44PM -0500, Jeff Bisbee wrote: > This is the boilerplate our group put together to use when contacting > authors. ENOATTACHMENT

Re: hello all

2005-02-04 Thread Adrian Howard
On 1 Feb 2005, at 16:30, Shaun Fryer wrote: [snip] Hello! Hello right back at ya :-) Adrian

Release 0.1.2 ?

2005-02-04 Thread Will Coleda
http://rt.perl.org/rt3/Ticket/Display.html?id=33916 According to this (which in turn was based on Leo's email to the list), we were shooting for a release on Monday. Having just gotten OS X tests passing again, I can now think about integrating Dan's string branch into main. I should be able

Re: [perl #24168] gmake required to build imcc on freebsd

2005-02-04 Thread Andy Dougherty
On Thu, 4 Feb 2005, Will Coleda via RT wrote: > This is still the case. Documented in PLATFORMS, closing ticket. > > > [psinno - Thu Oct 09 02:45:59 2003]: > > > > Hi, > >currently gmake seems to be required to build imcc on freebsd. Not quite. gmake is not required to build imcc. However,

Subversion?

2005-02-04 Thread Ron Blaschke
Just curious. Are there any plans moving parrot to subversion? Ron

Re: Subversion?

2005-02-04 Thread Nicholas Clark
On Fri, Feb 04, 2005 at 06:07:33PM +0100, Ron Blaschke wrote: > Just curious. Are there any plans moving parrot to subversion? I tried a clean subversion checkout about a week ago, and compared with a clean CVS checkout. svn gave: real2m23.994s user0m9.002s sys 0m6.730s CVS gave:

Re: [perl #24168] gmake required to build imcc on freebsd

2005-02-04 Thread Peter Sinnott
On Fri, Feb 04, 2005 at 11:44:14AM -0500, Andy Dougherty wrote: > On Thu, 4 Feb 2005, Will Coleda via RT wrote: > > > This is still the case. Documented in PLATFORMS, closing ticket. > > > > > [psinno - Thu Oct 09 02:45:59 2003]: > > > > > > Hi, > > >currently gmake seems to be required to bui

[PATCH] return absolute paths from Parrot_locate_runtime_file

2005-02-04 Thread Jeff Horwitz
Parrot_readbc can segfault when loading an absolute path to a file (in my case, only under GDB). the problem lies in Parrot_locate_runtime_file, and is similar to the one in ticket #32087. the attached patch adds a check in Parrot_locate_runtime_file so it returns absolute paths as is. it handle

Re: Subversion?

2005-02-04 Thread Will Coleda
Nicholas Clark writes: On Fri, Feb 04, 2005 at 06:07:33PM +0100, Ron Blaschke wrote: Just curious. Are there any plans moving parrot to subversion? I tried a clean subversion checkout about a week ago, and compared with a clean CVS checkout. svn gave: real2m23.994s user0m9.002s sys

Re: Subversion?

2005-02-04 Thread Bryan Donlan
Nicholas Clark wrote: On Fri, Feb 04, 2005 at 06:07:33PM +0100, Ron Blaschke wrote: Just curious. Are there any plans moving parrot to subversion? I tried a clean subversion checkout about a week ago, and compared with a clean CVS checkout. svn gave: real2m23.994s user0m9.002s sys 0m6

Re: Subversion?

2005-02-04 Thread publiustemp-perl6internals
--- Bryan Donlan <[EMAIL PROTECTED]> wrote: > Nicholas Clark wrote: > > On Fri, Feb 04, 2005 at 06:07:33PM +0100, Ron Blaschke wrote: > > > >>Just curious. Are there any plans moving parrot to subversion? > > > > so CVS is about 20% faster. Elapsed time seems to be all that > matters here. Is th

[perl #34050] [PATCH] expected output of 'vpm.imc'

2005-02-04 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #34050] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34050 > Hi, 'make testbench', which runs the test 't/benchmarks.t', complains about a

Still failing some dynclass/py*.t tests

2005-02-04 Thread Andy Dougherty
On Solaris/SPARC, I'm still seeing failure on the tests others have reported problems for. Failed 3/133 test scripts, 97.74% okay. 30/2167 subtests failed, 98.62% okay. Failed TestStat Wstat Total Fail Failed List of Failed

[perl #34051] [PATCH] return absolute paths from Parrot_locate_runtime_file

2005-02-04 Thread via RT
# New Ticket Created by Jeff Horwitz # Please include the string: [perl #34051] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34051 > [apologies to the list if this appears twice] Parrot_readbc can segfault when loading

Re: Subversion?

2005-02-04 Thread Nicholas Clark
On Fri, Feb 04, 2005 at 01:47:11PM -0500, Bryan Donlan wrote: > Nicholas Clark wrote: > >On Fri, Feb 04, 2005 at 06:07:33PM +0100, Ron Blaschke wrote: > > > >>Just curious. Are there any plans moving parrot to subversion? > >so CVS is about 20% faster. Elapsed time seems to be all that matters he

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

Reality check

2005-02-04 Thread Juerd
Does this make sense? my @words = gather { for =(open '/usr/share/dict/words' err die) { .=chomp; next if /<-[a-z]>/; /$re/ and take { word => $_, score => %scores{ .letters }.sum }; } } ==> sort { . } is descending, { ..length }, { . };

Re: [perl #34050] [PATCH] expected output of 'vpm.imc'

2005-02-04 Thread chromatic
On Fri, 2005-02-04 at 12:05 -0800, Bernhard Schmalhofer wrote: > 'make testbench', which runs the test 't/benchmarks.t', complains about a > failing test. > It looks like a ';' is missing in the expected output of > 'examples/benchmarks/vpm.imc'. > > A patch is attached. Thanks, applied. -- c

Re: Subversion?

2005-02-04 Thread Gregor N. Purdy
I think Parrot is already about subversion. All your interpreter are belong to us. Ron Blaschke wrote: Just curious. Are there any plans moving parrot to subversion? Ron

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

Re: [perl #34039] Build failure on freebsd 4.9-RELEASE (mpz_*)

2005-02-04 Thread Adriano Ferreira
Hey, I've already seen that one. You need to install GNU MP (The GNU Multiple Precision Arithmetic Library) in FreeBSD (at least 4.10) before this succeeding. The usual installation mantra in FreeBSD should do it: # cd /usr/ports # make search name=libgmp # cd (whatever adequate path the search

Re: Build failure on freebsd 4.9-RELEASE (mpz_*)

2005-02-04 Thread Will Coleda
Adriano Ferreira writes: Hey, I've already seen that one. You need to install GNU MP (The GNU Multiple Precision Arithmetic Library) in FreeBSD (at least 4.10) before this succeeding. While that may fix the symptom, it doesn't fix the problem - the Configure step needs to be smart enough to de

[perl #31652] [TODO] Win32 - Microsoft Visual C++ Toolkit 2003

2005-02-04 Thread Ron Blaschke via RT
> I just cut and pasted this from TODO.win32 - you might want to ping > the list, as I have no idea who requested the original item. =-) This ticket was probably my fault. ;-) I'll try to provide the proper instructions.

Re: [perl #34039] Build failure on freebsd 4.9-RELEASE (mpz_*)

2005-02-04 Thread Leopold Toetsch
Will Coleda <[EMAIL PROTECTED]> wrote: > .../classes/bigint.c:83: undefined reference to `mpz_fits_slong_p' Too old GMP library? We need a better test that covers these problematic functions. leo