r26976 - docs/Perl6/Spec

2009-05-31 Thread pugs-commits
Author: lwall Date: 2009-05-31 08:09:18 +0200 (Sun, 31 May 2009) New Revision: 26976 Modified: docs/Perl6/Spec/S11-modules.pod Log: [S11] introduce declarators need and defines, components of use Modified: docs/Perl6/Spec/S11-modules.pod

Re: r26976 - docs/Perl6/Spec

2009-05-31 Thread John M. Dlugosz
=head1 Runtime Importation Importing via Crequire also installs names into the current lexical scope by @@ -188,16 +234,13 @@ You may also import symbols from the various pseudo-packages listed in S02. They behave as if all their symbols are in the C:ALL export list: -use CONTEXT

Re: The game of life

2009-05-31 Thread John M. Dlugosz
yary not.com-at-gmail.com |Perl 6| wrote: That was a big part of it... I'm glad Mark posted the APL snippet because it got me to finally read up on the language that's been at the back of my mind. Plus it's useful for p6 language discussion. APL (and a successor, J) may still have a few tricks

Re: The game of life

2009-05-31 Thread John M. Dlugosz
yary not.com-at-gmail.com |Perl 6| wrote: Though I'm not quite sure that S03 covers some of the different-dimension cases. my @table= (1,2,3; 4,5,6); # is this the syntax to create 2d array? No, the Capture on the right, although a Capture of Captures, will be flattened in the list

Module Library - aka CPAN

2009-05-31 Thread Richard Hainsworth
Before joining in the previous CPAN threads, here are some personal wish lists regarding what the perl6 version of CPAN should do. But in order to get some distance from CPAN, I want to call it the Module Library system. Some of the debate threads impact on the internal software environment,

Re: Illustration of stuff we've been discussing

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 28, 2009, at 10:27 , John M. Dlugosz wrote: Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote: Em Qui, 2009-05-28 às 00:24 -0500, John M. Dlugosz escreveu: Please see http://www.dlugosz.com/Perl6/web/info-model-1.html and talk to me about it. The illustratino is cool, but it doesn't

Re: Module Library - aka CPAN

2009-05-31 Thread John M. Dlugosz
Richard Hainsworth richard-at-rusrating.ru |Perl 6| wrote: Once a module has been decided on, you look to see if there is a binary that matches your internal environment. If not, you have to roll your own from source. Why not have it generate the binary for you, and safe it for future

Re: Module Library - aka CPAN

2009-05-31 Thread Richard Hainsworth
Dont think this is workable. If the local environment is non-standard, requiring your own solution, then where would you store the binary? And how would you inform future users sufficiently about the local environment for them to access the binary. Besides for most binaries, it is not really

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 27, 2009, at 13:59 , Daniel Carrera wrote: Wow... That's a foldl! In a functional language, that would be called a fold. It's very popular in Haskell. I like that Perl 6 seems to be taking steps in the direction of functional languages. First lazy lists (0..Inf) and now a fold. :-D

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 27, 2009, at 15:42 , Daniel Carrera wrote: Mark J. Reed wrote: Note that of the examples given, only Perl 6 and Common Lisp do two things that help immensely simplify the result: 1. reference the built-in * operator directly, without having to wrap it in a lambda expression; 2.

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 27, 2009, at 18:05 , John M. Dlugosz wrote: And APL calls it |¨ (two little dots high up) buh? Metaoperator / (+/LIST). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu electrical and

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 28, 2009, at 06:43 , Jon Lang wrote: What I'm wondering is how the list knows to feed two items into '[+]'. While 'infix:+' must accept exactly two arguments, '[+]' can accept an arbitrarily long (or short) list of arguments. I thought that at first too, then remembered a discussion

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 29, 2009, at 15:43 , John M. Dlugosz wrote: Care to try ☃ ? That's alt-meta-hyper-doublebucky-cokebottle. *puzzled as to why OSX Character Map thinks that's related to 雪* -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com system administrator

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 29, 2009, at 21:50 , Timothy S. Nelson wrote: some Linux programs support it too. Unfortunately my e-mail program (Pine) seems to have some trouble with unicode -- I may have to look at alternatives after 14 years of use :(. http://www.washington.edu/alpine/ -- brandon s. allbery

Re: Amazing Perl 6

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 29, 2009, at 22:40 , Timothy S. Nelson wrote: On Fri, 29 May 2009, John M. Dlugosz wrote: Ah yes, on the PC historically you hold down the ALT key and type the code with the numpad keys. At least when I used it, this was a decimal, rather than hex number, and had to be preceded by

Re: renaming or adding some operators

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 29, 2009, at 22:33 , Jon Lang wrote: also is an ordered, short-circuiting version of (and thus all). For some time now, I've wanted an analog for '|' and 'any' - but the only name I can think of for it would be 'else', which has some obvious clarity issues. I have seen x (alt. y) used

Re: renaming or adding some operators

2009-05-31 Thread Brandon S. Allbery KF8NH
On May 30, 2009, at 15:38 , Larry Wall wrote: Perhaps something like use *; should pull in all the Unicode operators. Which if course means that any golfing would start with *; ⨷ perhaps? It only makes sense that a Unicode operator be used to pull in all of Unicode. -- brandon

Re: renaming or adding some operators

2009-05-31 Thread John M. Dlugosz
Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu |Perl 6| wrote: ⨷ perhaps? It only makes sense that a Unicode operator be used to pull in all of Unicode. Bravo. If you can't type that, you won't find it useful!

Re: The game of life

2009-05-31 Thread Daniel Ruoso
Em Qui, 2009-05-28 às 00:26 -0500, John M. Dlugosz escreveu: Mark J. Reed markjreed-at-gmail.com |Perl 6| wrote: Perhaps Perl 6 should not aspire to the expressiveness of APL. :) As nice as it is that you can write Conway's Life in a one-liner(*), I think that a little verbosity now and