Anyone care to pick holes in this little expression of some Perl 6 core
types as collections? I mean, other than missing methods ;)
role Collection[\$types] {
has Seq[$types] @.members;
}
role Set[::T = Item] does Collection[T] where {
all(.members) =:= one(.members);
};
Am Montag, 25. September 2006 00:01 schrieb Bob Rogers:
> It turns out that if libpq.so doesn't exist, pg.t makes t/harness give
> up completely:
Yep.
> I managed to get it to fail less hard (see patch):
Thanks, applied.
> But, as you can see, the continuation barrier gets in the way of the
> e
Am Montag, 25. September 2006 00:06 schrieb Karl Forner:
> On 9/15/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> > - There are 2 use cases for register_move
> > a) optimized recursive tail calls
> > b) simple function call argument passing compiled to native code in JIT
> > core
> So in tha
# New Ticket Created by Jonathan Worthington
# Please include the string: [perl #40410]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=40410 >
Hi,
Parrot segfaults while generating a packfile for a (large) chunk of
compil
Parrot Bug Summary
http://rt.perl.org/rt3/NoAuth/parrot/Overview.html
Generated at Mon Sep 25 13:15:02 2006 GMT
---
* Numbers
* New Issues
* Overview of Open Issues
* Ticket Status By Version
* Requestors with m
HaloO,
Sam Vilain wrote:
Anyone care to pick holes in this little expression of some Perl 6 core
types as collections? I mean, other than missing methods ;)
My comments follow.
role Collection[\$types] {
has Seq[$types] @.members;
}
This is a little wrapper that ensures that c
TSa wrote:
> role Set[::T = Item] does Collection[T] where {
> all(.members) =:= one(.members);
> };
Nice usage of junctions!
But buggy - one means *exactly* one. So for an array of more than 1
element, all(@array) never equals one(@array) - if they're all the same,
it's more tha
HaloO,
Miroslav Silovic wrote:
TSa wrote:
Nice usage of junctions!
But buggy - one means *exactly* one. So for an array of more than 1
element, all(@array) never equals one(@array) - if they're all the same,
it's more than 1, otherwise it's 0.
Doesn't all(1,2,3) == one(1,2,3) expand the
Carried over form IRC to placeholder the conversation as I saw it:
We define the following in S06 as immutable types:
ListLazy Perl list (composed of Seq and Range parts)
Seq Completely evaluated (hence immutable) sequence
Range Incrementally generated (hence la
Author: larry
Date: Mon Sep 25 10:13:23 2006
New Revision: 12398
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S06.pod
Log:
Slaughter of special [,], now is just listop form of [...]
To support |func() syntax, | is the new * (desigilized)
Modi
On Sep 20, 2006, at 6:16 PM, Darren Duncan wrote:
At 4:56 PM +0200 9/20/06, Fagyal Csongor wrote:
I was wondering if there is (or there should be) a documentation
on how to elegantly write Perl6 code.
I have found that Damian's "Perl Best Practices" still works very
well for Perl 6 code, s
Hi folks,
Read the journal
http://pugs.blogs.com/pugs/2006/09/check_smoke_res.html
Follow the link:
http://m19s28.vlinux.de/cgi-bin/pugs-smokeserv.pl?
Click at a recent entry with a SYN link
Then click on "02 Syntax"
Then on e.g.:
- Show the snippet from t/syntax/unicode.t (line 7 ~ line 85 —
On 9/25/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
Hi folks,
Read the journal
http://pugs.blogs.com/pugs/2006/09/check_smoke_res.html
Follow the link:
http://m19s28.vlinux.de/cgi-bin/pugs-smokeserv.pl?
Click at a recent entry with a SYN link
Then click on "02 Syntax"
Then on e.g.:
- Show
Aaron Sherman wrote:
It seems to me that there are three core attributes, each of which has
two states:
Mutability: true, false
Laziness: true, false
Ordered: true, false
I think there's a 4th: exclusivity: whether or not duplicate elements
are permitted/exposed (i.e. the differe
TSa wrote:
>> role Collection[\$types] {
>>has Seq[$types] @.members;
>> }
> This is a little wrapper that ensures that collections have got
> a @.members sequence of arbitrary type. This immediately raises
> the question how Seq is defined.
> [...and later...]
> Are you sure that the u
Aaron Sherman wrote:
> Carried over form IRC to placeholder the conversation as I saw it:
>
> We define the following in S06 as immutable types:
>
> ListLazy Perl list (composed of Seq and Range parts)
> Seq Completely evaluated (hence immutable) sequence
> Range
Both Data::Dumper and Storable provide hooks to customize serialization
($Data::Dumper::Freezer|Toaster, STORABLE_freeze|_thaw).
Other modules like YAML and Clone could also possibly reuse a
common state marshalling interface.
Is there some common element to this process which can be gathered
in
Brad Bowman wrote:
>
> Both Data::Dumper and Storable provide hooks to customize serialization
> ($Data::Dumper::Freezer|Toaster, STORABLE_freeze|_thaw).
> Other modules like YAML and Clone could also possibly reuse a
> common state marshalling interface.
>
> Is there some common element to this
On Mon, Sep 25, 2006 at 09:02:56PM -0500, Mark Stosberg wrote:
: Brad Bowman wrote:
: >
: > Both Data::Dumper and Storable provide hooks to customize serialization
: > ($Data::Dumper::Freezer|Toaster, STORABLE_freeze|_thaw).
: > Other modules like YAML and Clone could also possibly reuse a
: > com
On 9/25/06, Miroslav Silovic <[EMAIL PROTECTED]> wrote:
TSa wrote:
>
> > role Set[::T = Item] does Collection[T] where {
> > all(.members) =:= one(.members);
> > };
>
> Nice usage of junctions!
>
But buggy - one means *exactly* one. So for an array of more than 1
element, all(@array) n
At 7:28 PM -0700 9/25/06, Ashley Winters wrote:
On 9/25/06, Miroslav Silovic <[EMAIL PROTECTED]> wrote:
TSa wrote:
> role Set[::T = Item] does Collection[T] where {
> all(.members) =:= one(.members);
> };
> Nice usage of junctions!
But buggy - one means *exactly* one. So for a
Author: audreyt
Date: Mon Sep 25 20:49:59 2006
New Revision: 12417
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S04.pod
Log:
* S02: Introduce the :$$x form in adverbial pair parsing.
* S02/S04: Canonicalize "item" as the unary context enforcer,
so that the name "Scalar" can
Hi all,
I've added some more thoughts, principles, and questions to the external API
draft PDD. I also started two sections on the API. I've changed some of the
function signatures in an attempt to make things more consistent.
Feedback would be wonderful, even if it's only "This is very sane
Author: chromatic
Date: Mon Sep 25 23:06:17 2006
New Revision: 14732
Modified:
trunk/docs/pdds/clip/pdd10_embedding.pod
Changes in other areas also in this revision:
Modified:
trunk/ (props changed)
Log:
Added more principles and gotchas.
Added outline for API documentation.
Filled in tw
24 matches
Mail list logo