Re: WTF? - Re: method calls on $self

2005-07-14 Thread Nathan Gray
On Thu, Jul 14, 2005 at 05:37:38PM +0200, Carl Mäsak wrote: > On 7/14/05, Juerd <[EMAIL PROTECTED]> wrote: > > It's just a Solomon judgement situation. That can work out well, but I > > really hate when it's forced and used to test patience. > > If Juerd is right about this being a solomonian situ

Re: WTF? - Re: method calls on $self

2005-07-14 Thread Nathan Gray
On Fri, Jul 15, 2005 at 01:09:57AM +0300, Yuval Kogman wrote: > On Thu, Jul 14, 2005 at 13:39:44 -0700, Larry Wall wrote: > > On Thu, Jul 14, 2005 at 12:55:26PM -0400, Nathan Gray wrote: > > : So long as .foo (pretty please) means $_.foo all the time (with sugar on > > : top

Re: Object Model Pictures

2005-09-12 Thread Nathan Gray
On Mon, Sep 12, 2005 at 03:10:55PM -0400, Stevan Little wrote: > In my never ending quest to implement the Perl 6 object model, I have > started drawing pictures. Here is the latest version: > > http://svn.openfoundry.org/pugs/perl5/Perl6-MetaModel2.0/docs/ > p6_object_model.jpg Awesome diagra

Re: Object Model Pictures

2005-09-21 Thread Nathan Gray
On Tue, Sep 20, 2005 at 08:16:23PM -0400, Stevan Little wrote: > http://svn.openfoundry.org/pugs/perl5/Perl6-MetaModel2.0/docs/ > p6_role_model.jpg > > I am planning on making Roles self-bootstrapping, so the class(Role) > will actually be the first Role in the system. From there, Class will

Re: Stringification, numification, and booleanification of pairs

2005-09-23 Thread Nathan Gray
On Thu, Sep 22, 2005 at 11:59:32AM -0400, Matt Fowles wrote: > Well said! I completely agree that string interpolation should be > handled exactly the same as stringification. I would like C< ("foo is > $foo of course") eq ("foo is " ~ $foo ~ " of course") > at all times. Yes. S03 states: Un

Re: Standard library for perl6? (graphical primitives)

2005-10-18 Thread Nathan Gray
On Sat, Oct 15, 2005 at 08:33:26AM +0300, Markus Laire wrote: > Could it be possible to create a "Standard library" for perl6, which > would also include graphical primitives (putpixel, getpixel, > getcolordepth, putimage, getimage, copyrectangle)? I'm interested in creating a perl6 binding to c

Re: Flunking tests and failing code

2005-12-05 Thread Nathan Gray
On Mon, Dec 05, 2005 at 07:54:25AM +, Luke Palmer wrote: > I wonder if there is a macroey thing that we can do here. That is, > could we make: > > ok(1); > is(1, 1); > like("foo", /foo/); > > Into: > > ok(1); > ok(1 == 1); > ok("foo" ~~ /foo/); > > And lexically ana

Re: Heredoc issue in pugs.

2006-08-22 Thread Nathan Gray
On Wed, Aug 23, 2006 at 02:16:11AM +0800, Yiyi Hu wrote: > #!/usr/bin/env pugs > > my $a = q:t /END/ > test > END; > > $a.perl.say; > > Above example works ok in pugs, But the problem is. > From S02 > > Heredocs are no longer written with <<, but with an adverb on any > other quote construct: >

Re: Capture sigil

2006-09-20 Thread Nathan Gray
On Wed, Sep 20, 2006 at 12:28:10PM -0700, Larry Wall wrote: > Bikeshed: What should that sigil be? And if it's in Latin-1, what's the > ASCII workaround? The one that springs out to me is: > ¤ 00A4CURRENCY SIGN Probably because it looks like a container with something cap

Re: Perl 6 Microgrants. Now accepting proposals.

2007-03-22 Thread Nathan Gray
On Thu, Mar 22, 2007 at 01:24:58PM +, Tim Bunce wrote: > Here's a related idea: write a tool that reads BNF grammar, such as > http://java.sun.com/docs/books/jls/third_edition/html/syntax.html > http://java.sun.com/docs/books/jls/third_edition/html/grammars.html > and writes a parser in Perl 6

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-16 Thread Nathan Gray
On Mon, Sep 14, 2009 at 12:15:05PM +0100, Tim Bunce wrote: > You can find my current draft at http://files.me.com/tim.bunce/65oikg (2.3MB > PDF) page 73 - Haskell should be spelled with two Ls -kolibrie

Re: [pugs]weird thing with say ++$

2005-04-21 Thread Nathan Gray
On Thu, Apr 21, 2005 at 11:45:27AM +0200, Paul Johnson wrote: > On Thu, Apr 21, 2005 at 04:32:41PM +0800, fayland wrote: > > > It has been published at perl6.language, but have no reply. > > > > In perl v5.8.6 built for MSWin32-x86-multi-thread: > > > > my $i = 1; > > print $i++, ++$i; # 1 3 > >

Re: Perl development server

2005-05-23 Thread Nathan Gray
On Mon, May 23, 2005 at 12:00:14PM -0400, Stevan Little wrote: > On May 23, 2005, at 11:25 AM, Juerd wrote: > >>dev.pugscode.org seems indicated ... > > > >Sorry, but 'dev' isn't cute enough :). And it's going to be > >something.perl6.nl, probably. I don't mind aliases, though, but they > >better b

Re: Perl development server

2005-05-23 Thread Nathan Gray
On Mon, May 23, 2005 at 06:51:31PM +0200, Juerd wrote: > Nathan Gray skribis 2005-05-23 12:50 (-0400): > > > >Sorry, but 'dev' isn't cute enough :). And it's going to be > > > >something.perl6.nl, probably. I don't mind aliases, though, but they

Re: Perl development server

2005-05-24 Thread Nathan Gray
On Mon, May 23, 2005 at 05:18:45PM +0200, Juerd wrote: > Everyone who wants, can get a login. Access is provided via SSH version > 2 only (Windows users can use PuTTY and WinSCP), and the box may be used > for everything that improves Perl 6 development. Users are encouraged to > keep files world r

Re: Perl development server

2005-05-24 Thread Nathan Gray
On Mon, May 23, 2005 at 06:51:31PM +0200, Juerd wrote: > Nathan Gray skribis 2005-05-23 12:50 (-0400): > > > >Sorry, but 'dev' isn't cute enough :). And it's going to be > > > >something.perl6.nl, probably. I don't mind aliases, though, but they

date and time formatting

2005-05-31 Thread Nathan Gray
As I am interested in human-readable dates and times, and having found no conclusive discussion on time formatting, I make my recommendation for a syntax (to start discussion, and allow for date formatting to be implemented in pugs): I would like for time() to return an object, which in numeric co

Re: date and time formatting

2005-06-01 Thread Nathan Gray
On Wed, Jun 01, 2005 at 03:42:57PM +1200, Sam Vilain wrote: > I've made a start on this. See ext/Date in pugs. I don't think that > your views are necessarily contrary. That's what I'm looking for. Thank you! > The biggest reason I didn't use DateTime was that I found it awkward > for the comm