Unwanted failure and FAILGOAL

2016-05-10 Thread Richard Hainsworth
I have the following in a grammar rule TOP{ ^ + $ }; rule statement { '=' | { { self.panic($/, "Declaration syntax incorrect") } } }; rule endvalue { '(' ~ ')' | { self.panic($/, "Invalid declaration.")

Just to say 'Well Done' to developers

2015-11-10 Thread Richard Hainsworth
. Regards, Richard Hainsworth (finanalyst)

Re: Backwards compatibility and release 1.0

2015-10-15 Thread Richard Hainsworth
s would need to have vetted the modules in the bundle, especially those without all badges. Regards, Richard On 10/14/2015 05:54 PM, Moritz Lenz wrote: On 10/13/2015 10:52 AM, Richard Hainsworth wrote: Following on the :D not :D thread, something odd stuck out. On 10/13/2015 03:17 P

Backwards compatibility and release 1.0

2015-10-13 Thread Richard Hainsworth
Following on the :D not :D thread, something odd stuck out. On 10/13/2015 03:17 PM, Moritz Lenz wrote: But hopefully none of them breaking backwards compatibility on such a large scale. The last few backwards incompatible changes still cause pain in the ecosystem. We have 390+ modules, and

Re: [perl6/specs] 614b6f: doc with/without

2015-08-11 Thread Richard Hainsworth
Is there an error in the cascade? Shouldn't the indices be 'a', 'b', 'c'; not 'a','a','a' ? On 08/10/2015 11:26 PM, yary wrote: with, without look awesome. -y On Sat, Aug 8, 2015 at 2:38 PM, GitHub nore...@github.com mailto:nore...@github.com wrote: Branch: refs/heads/master

some thing odd in macro

2013-12-29 Thread Richard Hainsworth
I was trying out macros and run into an anomaly. Not sure what is happening. I tried a macro snippet as a standalone script, then tested exactly the same in REPL. It worked in REPL, as in the hash variable was changed. But the hash variable stayed the same in the stand alone. What am I

Revisions to the Intros of Synopses.

2013-12-23 Thread Richard Hainsworth
Dear Perl6 community, Since this is my first use of git, I did not do what I intended, which was to create a new branch to show my suggestions. Apologies. Some time back, I suggested revising the front part of all the Synopses and rewriting Synopsis 1. Basically, it seemed to me that the

Re: memory leak I think.

2013-12-20 Thread Richard Hainsworth
On 12/19/2013 10:32 PM, Patrick R. Michaud wrote: On Thu, Dec 19, 2013 at 11:27:32AM +0800, Richard Hainsworth wrote: I've been running a perl6 program that runs through a loop, dumps intermediate results and starts again with new initialisation values. [...] Looking at system resources

memory leak I think.

2013-12-19 Thread Richard Hainsworth
I've been running a perl6 program that runs through a loop, dumps intermediate results and starts again with new initialisation values. The program runs fine for the first three loops, but does appear to slow down and on the fourth time though hangs. Looking at system resources, the program

Unexpected expansion of string with xx

2013-12-19 Thread Richard Hainsworth
Initially I though the following was a bug, but now I'm not sure. I got these results perl6 -v This is perl6 version 2013.09 built on parrot 5.5.0 revision 0 $ perl6 say '0' xx 4 0 0 0 0 print '0' xx 4 print 's' ~ ('0' xx 4) s0 0 0 0 I'm not sure why the elements of the expansion are

Re: Unexpected expansion of string with xx

2013-12-19 Thread Richard Hainsworth
OK x not xx. The doubling of operators is confusing. Richard On 12/19/2013 10:01 PM, Jonathan Worthington wrote: On 12/19/2013 3:47, Richard Hainsworth wrote: Initially I though the following was a bug, but now I'm not sure. I got these results perl6 -v This is perl6 version 2013.09 built

Re: Class attribute introspection

2013-10-29 Thread Richard Hainsworth
is in a sense always arbitrary, at least now it's programmable. // Carl On Mon, Oct 28, 2013 at 2:17 PM, Richard Hainsworth rich...@rusrating.ru wrote: Moritz, You are the everflowing font of knowledge. Thanks. However, I read the synopsis on objects and did not find the .get_value method

issue with checking of sub signature

2013-10-28 Thread Richard Hainsworth
I ran into a problem at the weekend and reduced it to a fragment and then looked at alternatives. The problem is in snippet bug2_2 below. There is a type check that fails, but the types appear to be the same. This may be an existing bug. The problem is that when I put the return type in the

Class attribute introspection

2013-10-28 Thread Richard Hainsworth
Perhaps I am using class incorrectly, but I set up a class, then change some of the parameters in an instance of the class. Next I would like to discover what the current state of the instance is. However, I could find no specification of how to access multiple attributes, as opposed to

Re: Class attribute introspection

2013-10-28 Thread Richard Hainsworth
to attributes? Richard On 10/28/2013 01:45 PM, Moritz Lenz wrote: Hi Richard, On 10/28/2013 08:07 AM, Richard Hainsworth wrote: Perhaps I am using class incorrectly, but I set up a class, then change some of the parameters in an instance of the class. Next I would like to discover what

Re: Defining Perl 6 for the masses

2013-10-01 Thread Richard Hainsworth
There are two issues here. a) Using language in a consistent manner in Perl6 space - the word 'specification' is used in Perl6 space both in the way it has become acceptable in computer language design circles, but also in a new and more nuanced way in Perl6. - Perl6 is being developed using

Re: Introduction to Synopses

2013-09-30 Thread Richard Hainsworth
On 09/30/2013 02:16 AM, Patrick R. Michaud wrote: On Mon, Sep 30, 2013 at 02:03:43AM +0800, Richard Hainsworth wrote: Not wising to disagree with PM, but |docs/feather/syn_index.html states on line 1:| The Synopsis documents are to be taken as the formal specification for Perl 6 implementations

Re: Introduction to Synopses

2013-09-29 Thread Richard Hainsworth
, Patrick R. Michaud wrote: On Sun, Sep 29, 2013 at 01:28:48PM +0800, Richard Hainsworth wrote: However, the Synopses are now primary specification and the Apocalypses have only historical significance. Also there are more Synopses than Apocalypses. One correction: The test suite (roast

Introduction to Synopses

2013-09-28 Thread Richard Hainsworth
Some suggestions about documentation. Originally the Synopses were implementation oriented sumaries of the previous description base Apocalypses. That meant that the Synopses were derivative and secondary to the Apocalypses However, the Synopses are now primary specification and the

Are set operations needed?

2013-07-18 Thread Richard Hainsworth
of the power of HoTT is that it is possible to create computer-aided proof assistants. Sets do not implement well on a computer. In other words, perhaps sets, which have already been ring-fenced by existing implementations, can be cut from the perl6 specification altogether? Richard Hainsworth

Re: [perl6/specs] 34fddf: [S32::Str] substr is not rw anymore, but substr-rw...

2012-06-09 Thread Richard Hainsworth
I noticed that subst-rw does not have is export in the definition. Does this mean that subst-rw is not available outside the module? Richard On 06/09/2012 02:20 PM, GitHub wrote: Branch: refs/heads/master Home: https://github.com/perl6/specs Commit:

On fashion, in Re: The trouble with awesome

2012-05-27 Thread Richard Hainsworth
On 05/23/2012 03:35 AM, Parrot Raiser wrote: Perl 6 is awesome. agreed snip In short, Perl 6 is awesome: Extremely impressive or daunting, inspiring awe. http://oxforddictionaries.com/definition/awesome?view=uk That is a problem, if we want to get it adopted widely and quickly. Not convinced

Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Richard Hainsworth
If you're asking for an explanation of the humour, then it's easy. There is no word play or a significant reference to a program only available to a special audience. Seems to me that when Damian got to the end of his email he noticed that each sentence ended in a '?' That's not usual. Most

Re: exponentiation of Duration's

2010-11-17 Thread Richard Hainsworth
On 11/17/10 14:03, Moritz Lenz wrote: Am 17.11.2010 10:31, schrieb Kris Shannon: $duration * $duration# WRONG, durations aren't geometric $duration * 2# ok, a duration twice as long 2 * $duration# same What are your thoughts? I've summarized my

Re: [perl6/specs] 761178: remove some some duplicate words words

2010-09-08 Thread Richard Hainsworth
I do want the diffs back: its the only way I have to keep at least some idea of what is changing any why. Dont care if I'm called an old foggy either - 1997 wasnt that long ago for me. On 09/08/10 13:32, Jan Ingvoldstad wrote: On Wed, Sep 8, 2010 at 07:41, Jason Switzerjswit...@gmail.com

Filesystems and files [Was: Re: The obligation of free stuff: Google Storage]

2010-06-30 Thread Richard Hainsworth
If I might offer a late viewpoint after reading the Aaron's expanded email (attached below). When originally I suggested using 'open' instead of 'connect', the aim was to keep consistency with the paradigm of files on the local system. However, as Aaron's post suggests, when dealing with

Re: The obligation of free stuff: Google Storage

2010-06-10 Thread Richard Hainsworth
Ideally [at least, what I would like], managing a file on a remote resource should be the same as managing one locally, eg. my Amazon $fn = open($path-to-input-file-location/$file-name, :r) or die $!; for $fn.readlines { }; $fn.close; my Google $fn =

Parallelism and Concurrency was Re: Ideas for a Object-Belongs-to-Thread threading model

2010-05-14 Thread Richard Hainsworth
After reading this thread and S17, I have lots of questions and some remarks. Parallelism and Concurrency could be considered to be two different things. The hyperoperators and junctions imply, but do not require, parallelism. It is left for the implementors to resolve whether a single or

Proposal for a new Temporal time-measurement paradigm

2010-04-21 Thread Richard Hainsworth
, and daylight saving differences would automatically be taken care of. Regards, Richard Hainsworth (finanalyst)

Re: underscores vs hyphens (was Re: A new era for Temporal)

2010-04-12 Thread Richard Hainsworth
Damian Conway wrote: Personally, I'd prefer to see the English conventions carried over to the use of general use of hyphen and underscore in identifiers in the core (and everywhere else). By that, I mean that, in English, the hyphen is notionally a higher precedence word-separator than the

Re: perl6 compiler

2010-03-20 Thread Richard Hainsworth
I too re-read PM's journal. Note his explicit desire to avoid 'stability' as a goal at this stage for rakudo because of its imprecision. We often use words that have different shades of meanings for different people/situations, eg., what is a 'short' time? Consider how a child might answer,

Stability domains in rakudo *

2010-03-20 Thread Richard Hainsworth
I know PM does not like the word 'stability' for language development, and I have just posted a response to Wendell Hatcher's question justifying Patrick's approach. However, some other questions arose when I was considering 'usability', which Patrick sets as a goal for Rakudo *, as opposed

[Fwd: Re: Where's the release announcement?]

2010-03-20 Thread Richard Hainsworth
Re-posting to list. Original Message Subject:Re: Where's the release announcement? Date: Sat, 20 Mar 2010 07:39:17 +0300 From: Richard Hainsworth rich...@rusrating.ru To: Darren Duncan dar...@darrenduncan.net References: 4ba329a0.7030...@rusrating.ru 4ba32f1e

Re: Versioned Dependencies (Was: Re: Stability domains in rakudo *)

2010-03-20 Thread Richard Hainsworth
-03-20 às 12:16 +0300, Richard Hainsworth escreveu: Suppose we define a domain of stability as syntax/functionality/features that will not be changed until a milestone is reached, with the guarantee that if the language specification changes before then, backwards compatibility

Where's the release announcement?

2010-03-19 Thread Richard Hainsworth
Is there a glitch in the mail list system for p6l? I got the Copenhagen release announcement on the parrot developers list but not on p6l. Also activity on p6l seems light recently, but this may just be random flow fluctuation.

Re: Temporal seems a bit wibbly-wobbly

2010-02-22 Thread Richard Hainsworth
To add to Daniel's comment. Lets recast the time/date discussion in another way. The way times and dates are quoted (human time) depends on: - religion denomination: the Jewish, Muslim, and Bahai religions have their own calendars as part of their religions; Orthodox and Catholic (including

Re: r29770 - docs/Perl6/Spec

2010-02-17 Thread Richard Hainsworth
+the calls stack is actually unwound to run. That is, just because an +exception is thrown past a stack frame does not leave the block, since +the exception might be resumable. It is only if an exception is not +resumed that the stack is unwound the the phasers called. 'just because ...'

Re: Gripes about Pod6 (S26)

2010-02-12 Thread Richard Hainsworth
a) How many of the gripes are affected by Damian's new draft ? I found many of my pet irritations were eliminated by the new one. b) I suggest that Damian's new draft is committed as S-26 forthwith and development begin on it. c) Some of the comments in threads on documentation have been

'constitute' is the word. Re: r29540 - docs/Perl6/Spec

2010-01-17 Thread Richard Hainsworth
Suggest: =head1 Regexes constitute a first-class language, rather than just being strings Brandon S. Allbery KF8NH wrote: On Jan 16, 2010, at 01:47 , pugs-comm...@feather.perl6.nl wrote: -=head1 Regexes are now first-class language, not strings +=head1 Regexes are now a first-class language,

Re: But vs. With

2009-12-03 Thread Richard Hainsworth
David Green wrote: I'm wondering whether we can make use of the contrary sense implied by the word but, and have it apply specifically to cases where something is being overridden. In cases where there isn't something to override we could use a different word, such as with. I must admit to

error installing Perl6

2009-11-12 Thread Richard Hainsworth
Just got error from new clone rakudo directory, Viz. rich...@jupiter:~/Development$ git clone git://github.com/rakudo/rakudo.git Initialized empty Git repository in /home/richard/Development/rakudo/.git/ remote: Counting objects: 22035, done. remote: Compressing objects: 100% (5908/5908), done.

Re: Freezing role methods

2009-10-16 Thread Richard Hainsworth
Ovid wrote: At the BBC, we never encounter this because semantically different methods are renamed and semantically identical methods are refactored (aliasing and excluding being code smells). However, if roles start making their way on to the CPAN, you won't necessarily have control over

Re: Freezing role methods

2009-10-15 Thread Richard Hainsworth
Ovid wrote: I recently was trying to research some composition issues with roles and one of the researchers directed me to this paper: http://scg.unibe.ch/archive/papers/Duca07b-FreezableTrait.pdf Basically, the problem they have is this T1 (Trait 1) and T2 each implement a public x()

Re: Freezing role methods

2009-10-15 Thread Richard Hainsworth
Ovid wrote: --- On Thu, 15/10/09, Richard Hainsworth rich...@rusrating.ru wrote: Later S14 has: There are several ways to solve method conflicts. The first is simply to write a class method that overrides the conflicting role methods, perhaps figuring out which role method to call

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

2009-09-14 Thread Richard Hainsworth
For the slides on Rakudo, I would suggest adding the modules that are associated with proto as measure of code written in perl6. There is a list of 27 projects. proto in itself is an interesting installer. Also, the number of tests written for perl6 is substantial (18,000 vs 1,400 for Ruby -

s/ DateTime - Instant / TAI /

2009-09-09 Thread Richard Hainsworth
Carl Mäsak wrote: Darren (), commit-bot (): +Returns a TAI epoch value for the current time. Shouldn't the result type of time() be an Instant object (Instant and Duration are defined in S02) rather than a Rat? I fear that the Instant from S02 is a fossil. Instant was renamed

Re: r28061 - docs/Perl6/Spec

2009-08-25 Thread Richard Hainsworth
Suggest s/right argument/right-hand argument/ Also suggest s/** 2/** $y/ since it seems strange to be referring to a right-hand argument which, in the example, is a constant. pugs-comm...@feather.perl6.nl wrote: Author: carlin Date: 2009-08-25 08:48:35 +0200 (Tue, 25 Aug 2009) New Revision:

Re: directories of interest, a multiplicity alternative to CWD

2009-08-19 Thread Richard Hainsworth
I think this is a much more flexible system than those suggested so far. It seems to me that this approach - lets the OS and the implementation deal with pathways that are valid (taking into account locale and OS constraints). - defines only that part of the location/directory tree/file system

Re: Filename literals

2009-08-14 Thread Richard Hainsworth
I like this way. Would it be possible to remove the special purpose of \ from strings within IO constructs? This would mean '\' could be used in naming paths as an alternative to '/', thus allowing windows and unix strings to be equivalent, eg. IO(:path{$root-path}/data/new) would be

Rukudo-Star = Rakudo-lite?

2009-08-09 Thread Richard Hainsworth
Referring to Patrick's blog about an official 'useable' version of Rakudo, a suggestion: Since Rakudo* (not sure how it is to be written) is intended to be a cut-down version of perl6.0.0 that is useable, how about Rakudo-lite? Its just that */star/whatever doesnt convey [to me] the fact

indentation with multiple languages

2009-07-25 Thread Richard Hainsworth
One of Masak's irritations with perl6 (http://use.perl.org/~masak/journal/39334) concerns interspacing POD and code. I ran into an analogous problem with a project I am trying to do with perl6. Since perl6 doesnt yet link to the gd library, and I need graphical output, I use perl6 to compile

Re: say followed by lines - inconsistencies

2009-06-09 Thread Richard Hainsworth
Larry Wall wrote: snip Well, regardless of whether there are extra spaces, please note that the default stringifications are not intended as a serialization format. They are intended only to provide a bit of human readability for the common case of small, spaceless items such as numbers and

say followed by lines - inconsistencies

2009-06-08 Thread Richard Hainsworth
I came upon the following, which seems to be in line with spec, but I think is inconsistent. I write a hash to a file delimited by tabs, eg my $fn=open('data.csv',:w); my %x=one two three four Z 1,2,2.1,3; $fn.say('record-name'~map(\t$^a\t$^b),%x); $fn.close; The output sometimes contains

slowness in grammar

2009-06-03 Thread Richard Hainsworth
Is this a good place to come with code that runs into speed problems? I am writing a program in perl6 to read the xml file from a Sony book reader, list the books, and move books into collections (the Sony software to do this will only work on windoz and not on wine). I have a grammar that

Re: Module naming conventions

2009-06-02 Thread Richard Hainsworth
Daniel Carrera wrote: Mark Overmeer wrote: Currently in CPAN you have modules like: Digest::MD5 Digest::SHA Digest::MD5::Perl Digest::SHA::PurePerl The difference is that the first two are implemented in C and the later two in Perl. This is comparible to adding a target to each of the

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: Module Library - aka CPAN

2009-05-31 Thread Richard Hainsworth
: 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

Add link to STD.pm where official documentation listed

2009-05-24 Thread Richard Hainsworth
On #perl6 Larry said that STD is a part of the specification for perl6. Would it be possible to include a link to STD.pm in the list of official documentation? There are things in STD that are not in the specifications, eg., default values for optional parameters should come after traits

Re: simultaneous conditions in junctions

2009-04-02 Thread Richard Hainsworth
Larry Wall wrote: On Wed, Apr 01, 2009 at 08:40:12AM -0700, Dave Whipp wrote: That said, the semantics of a chained relop really should work correctly for this. If you only reference a junction once in an expression, then it should behave as such: {abc} !=== {ab bc}. Yes, that is

simultaneous conditions in junctions

2009-04-01 Thread Richard Hainsworth
Thinking about Jon Lang's -1|+1 example in another way, I wondered about simultaneous conditions. Consider $x = any (1,2,5,6) How do we compose a conditional that asks if any of this set of eigenstates are simultaneously both 2 and 5? Clearly the desired answer for $x is False, but my $x

[Fwd: Re: junctions and conditionals]

2009-04-01 Thread Richard Hainsworth
This email was mistakenly not sent to the p6l list. Jon writes: On Wed, Apr 1, 2009 at 12:54 AM, Richard Hainsworth rich...@rusrating.ru wrote: Jon Lang wrote: In Junction Algebra, Martin Kealey wrote: On Mon, 30 Mar 2009, Mark J. Reed wrote: ( $a = any(-1,+1) = $b

Re: On Sets (Was: Re: On Junctions)

2009-03-28 Thread Richard Hainsworth
Daniel Ruoso wrote: The thing is that junctions are so cool that people like to use it for more things than it's really usefull (overseeing that junctions are too much powerfull for that uses, meaning it will lead to unexpected behaviors at some point). What are the general boundaries for

Junction Algebra

2009-03-28 Thread Richard Hainsworth
Included in my 'On junctions' message were some questions that have not been directly answered. I simplify and expand them here. Here I use === to mean 'is the same as'. (I am not sure which of == or === should be used.) 1) Is the following true for an any junction? any( ... ,

On Junctions

2009-03-27 Thread Richard Hainsworth
The following arose out of a discussion on #perl6. Junctions are new and different from anything I have encountered, but I cant get rid of the feeling that there needs to be some more flexibility in their use to make them a common programming tool. Background: Imagine a hand of cards. Cards

Camelia - Queen of Perl

2009-03-26 Thread Richard Hainsworth
Just read nearly 100 emails on Re: Logo Considerations, a whole lot in reverse order and repeated! Is this the result of a perl6 implementation of a listserver using junctions? But I agree with Brett, Camelia is the first logo idea I really liked. I vote we tell Camelia she has the prize she

Logo considerations

2009-03-23 Thread Richard Hainsworth
Hats off to the designer of the gimel symbol - the associations with anarchy are probably right for perl6. But to be honest, a letter didnt quite inspire me. Since, I dont want to criticize without providing other ideas, here are some thoughts. Logos can contain meaning. I am not sure whether

Dot forms of adjectives

2009-03-15 Thread Richard Hainsworth
But I recently read this on irc: 2009-03-12 23:16pugs_svnr25809 | lwall++ | This decrease in consistency on the syntactic level is offset by an 23:16pugs_svnr25809 | lwall++ | increase in consistency on the semantic level, as suggested by rouso++. 23:16pugs_svnr25809 |

Re: Dot forms of adjectives

2009-03-15 Thread Richard Hainsworth
Original post not very clear. So here goes again: First statement (below) says: dot forms of adverbs eliminated. Second appears to say: adverb form is translated to dot form. Richard Hainsworth wrote: But I recently read this on irc: 2009-03-12 23:16pugs_svnr25809 | lwall

a junction or not

2009-03-15 Thread Richard Hainsworth
The following (the n: is to mark the lines) are legal: 1: my @x = 1,2,3,4; ([+] @x).say; # output 10 2: my @x = 1|11,2,3,4; ([+] @a).perl.say; # output any(10,20) 3: my @x = 1|11,2,3,4; ([+] @a).eigenstates.min.say; # output 10 However, the next line isnt 4: my @x = 1,2,3,4; ([+]

Re: a junction or not

2009-03-15 Thread Richard Hainsworth
Jonathan Worthington wrote: Richard Hainsworth wrote: snip Eg. $ perl6 my @s=1|11,2,3,4,5,6;my @x; loop {...@x=@s.pick(3);([+] @x).eigenstates.min.say} 8 6 Method 'eigenstates' not found for invocant of class 'Integer' You can detect junctions by smart-matching against the Junction type

Predefined rules - clean up

2009-03-08 Thread Richard Hainsworth
Various Appocalypses, Exegeses, and Synopses use rules in example codes. These were gathered together by PM and implemented in PGE. Larry asked for them to be listed in S05 for a short description to be added. Timothy Nelson added them and I have just described them. This yielded some extra

S28

2009-02-24 Thread Richard Hainsworth
The official Perl6 Documentation site http://perlcabal.org/syn/ list this document as special-names not special-variables variables is more constrictive, so suggest a change in name of pod. pugs-comm...@feather.perl6.nl wrote: Author: wayland Date: 2009-02-23 04:47:22 +0100 (Mon, 23 Feb 2009)

Rules mentioned in specifications, etc

2009-02-24 Thread Richard Hainsworth
Here is a list of rules (see below) that are spread around the language design documents, but which lack a home in which they are systematically canonically defined. I suggest they be added to the new S28 (which is possible if S28 is special-names, not special-variables) Richard Where can

Re: Temporal revisited

2009-02-20 Thread Richard Hainsworth
Dave Rolsky wrote: After some discussion I made a number of drastic revisions to S32-setting-library/Temporal.pod What I want to see in Perl 6 is a set of very minimal roles that can be used to provide a simply object from gmtime() and localtime(). These objects should not handle locales,

Re: IO, Trees, and Time/Date

2009-02-18 Thread Richard Hainsworth
Timothy S. Nelson wrote: On Tue, 17 Feb 2009, Richard Hainsworth wrote: Timothy S. Nelson wrote: snipbe specifying our files; it's prettier than File::Spec :), and unified. Anyway, HTH, I like all the default suggestions. Not sure whether this means you completely agree

Re: IO, Trees, and Time/Date

2009-02-18 Thread Richard Hainsworth
disagreement: Timothy S. Nelson wrote: On Wed, 18 Feb 2009, Richard Hainsworth wrote: snip $dir = new IO::Dir(/home/wayland); @files = grep { -f } @$dir; But this is exactly what I think should be avoided. -f implies that the location $dir contains things other than files. But that is an artifact

Re: IO, Trees, and Time/Date

2009-02-17 Thread Richard Hainsworth
Timothy S. Nelson wrote: Hi all. I know we usually run on forgiveness instead of permission, but I'm suggesting a big change (or extension, anyway), so I wanted to run the ideas by you all before I put the effort in. If I don't get feedback, I'll just make the changes. The first

Re: Periodic Table of the Operators, version 3

2009-02-16 Thread Richard Hainsworth
VERY stylish! For example, some questions: To what extent is the vertical alignment important? Does it indicate some form of seniority within a category? Where do the terms iffy dotty fiddly, etc come from? STD.pm? Where do the categories Jungian, Jungior etc come from? Just an excellent

Re: r25172 - docs/Perl6/Spec

2009-02-02 Thread Richard Hainsworth
to discover container objects (files, archives, databases) in them. Richard Hainsworth

Re: RFD: Built-in testing

2009-01-21 Thread Richard Hainsworth
(Daniel Ruoso also proposed to call the adverb :test instead of :ok, making it easier to read but a bit longer; my happiness doesn't depend on the exact name, but of course we can discuss it once we have settled on this scheme, if we do so). My two-cents worth: The adverb on a boolean

Re: getting the face value of an enum

2009-01-14 Thread Richard Hainsworth
Can I suggest a new method to be declared with enums, viz. .face enum day Sun Mon Tue Wed Thur Fri Sat; my $today does day; $today = prompt Type in a day of the week ; #later say $today ; # prints 3 say $today.face; #prints Wed Whilst having an enum being a list of values is useful, not

Working with files wish list

2008-12-15 Thread Richard Hainsworth
Following the request for ideas on IO, this is my wish list for working with files. I am not a perl guru and so I do not claim to be able to write specifications. But I do know what I would like. The organisation of the IO as roles seems to be a great idea. I think that what is suggested here

Re: Files, Directories, Resources, Operating Systems

2008-11-27 Thread Richard Hainsworth
Just as a variable name in perl6 must conform to a standard and abide by a set of constraints, why should file or other resource names be an exception? The constraints on variable names in perl6 are very flexible, but there are some rules that must be enforced for a program to work. It

Files, Directories, Resources, Operating Systems

2008-11-26 Thread Richard Hainsworth
The S16: chown, chmod thread seems to be too unix-focussed. Perl6 is being born in a world dominated by the internet. Whilst perl was the glue for the internet when the internet was born, it was a unix child. I learned perl from a Windows perspective and I found the discussion of ownership

Re: Speccing Test.pm?

2008-09-03 Thread Richard Hainsworth
Two sorts of testing - a) compiler, b) modules. Each category has different environment and function. a) compiler. An official test suite is defined (and probably will be added to as corner cases / ambiguities are discovered and disambiguation decided, so presumably some standardisation of

Re: All classes imply the existence of a role of the same name.

2008-05-03 Thread Richard Hainsworth
these concepts give a programmer that cannot be obtained from the roles/class/object hierarchy? Regards, Richard Hainsworth

Re: Nomenclature Question - BEGIN etc.

2008-04-13 Thread Richard Hainsworth
How about 'contingent blocks', because they are contingent on some event, without having to use the word 'event'. Richard TSa wrote: HaloO, Larry Wall wrote: Hmm, maybe control event blocks and control events, then... I would call them flow blocks because this is where they are called and

Re: Perl 6 fundraising and related topics.

2008-03-25 Thread Richard Hainsworth
this through The Perl Foundation and you will get a clear answer. Richard Hainsworth Uri Guttman wrote: RH == Richard Hainsworth [EMAIL PROTECTED] writes: RH No one likes bureacracy. But I feel much happier about handing over RH money, or persuading someone else to hand over money

Re: Perl 6 fundraising and related topics.

2008-02-22 Thread Richard Hainsworth
In my $life, I raise money from sponsors. It is not difficult to spend money, once you have it. It is not difficult to raise money, once you know how to spend it wisely. What's difficult is putting the two together. Some donors know what to contribute to - they choose specific projects and

Re: Perl 6 fundraising and related topics.

2008-02-22 Thread Richard Hainsworth
Me too. $500. That's 3*500, so far. Can I do this through the Perl Foundation as an earmark? Conrad Schneiker wrote: On Thursday 21 February 2008 06:25:42 Joshua Gatcomb wrote: On Thu, Feb 21, 2008 at 4:23 PM, chromatic [EMAIL PROTECTED] wrote: I could take a month's sabbatical from my

Re: Perl 6 fundraising and related topics.

2008-02-22 Thread Richard Hainsworth
, Richard Hainsworth wrote: No one likes bureacracy. But I feel much happier about handing over money, or persuading someone else to hand over money, to a group of people with established procedures and collective responsibility, than to some enthusiatic individual who promises the earth and whose

Re: pluralization idea that keeps bugging me

2008-02-10 Thread Richard Hainsworth
Brandon S. Allbery KF8NH wrote: On Feb 9, 2008, at 11:43 , Richard Hainsworth wrote: I posted an idea about pluralisation could be handled in a way that would not be English-centric (Subject: interpolation contextualisation). There were no responses to the idea. Was it so bad? Did no one

Re: pluralization idea that keeps bugging me

2008-02-09 Thread Richard Hainsworth
Warnocked! I posted an idea about pluralisation could be handled in a way that would not be English-centric (Subject: interpolation contextualisation). There were no responses to the idea. Was it so bad? Did no one see it? Was it too un-perlish? Was the title too horrible? The basic idea

Re: pluralization idea that keeps bugging me

2008-01-27 Thread Richard Hainsworth
Perl - when I first met it - was great because it handled text easily and 'naturally'. I now use perl for everything, even when another language would probably be better. Perl6 has gone a long way to making things more universal by using UNICODE, (The difficulties of non-Latin fonts and

Re: pluralization idea that keeps bugging me

2008-01-26 Thread Richard Hainsworth
Its only English centric if the idea is fixed to plurals, because its only for plurals where English words are mutated by grammar rules. In other languages, words are mutated by other factors, such as the gender of the word, the case, and the number. The problem can be quite difficult, say

Re: what should be the default extension?

2008-01-07 Thread Richard Hainsworth
May I suggest the following extension to the 'use ' pragma, viz. use module name written in unicode and case sensitive in filename as constrained by local system For justification, see below. asideThere were some hot replies to what I thought was a fairly trivial question. A corollary

calling parrot from perl6

2007-12-31 Thread Richard Hainsworth
Not sure whether this should be p6-lan or p6-users. Posted to p6l only. Given a function implemented in parrot, how can it be called from a perl6 program? Suppose I have a file (in current path) myfun.pir which contains .sub myfun .param pmc passed_variable .local int an_int

Re: Standards bearers (was Re: xml and perl 6)

2007-12-10 Thread Richard Hainsworth
chromatic wrote: On Saturday 08 December 2007 06:50:48 Richard Hainsworth wrote: Surely, some concentrated thought by the inventive and resouceful minds of who lead this project should go into language utilisation and popularisation. My goodness, @Larry's pretty darn busy trying

Re: Switch/Given and English, Was perl 6 grammar

2007-12-10 Thread Richard Hainsworth
snip I've never said that switch ... case was better than given ... when or that switch ... case was even a good construct. I have said that given ... when sounds weird as a construct (not mentionning the use of past participle and on top of that of an irregular verb). I understand the meaning

Switch/Given and English, Was perl 6 grammar

2007-12-08 Thread Richard Hainsworth
snip I don't know why, this given... when sounds so 'English' without really being that English. The construct given ... when sounds better in English than switch ... case ... because: a) Switch is more commonly used in English as a noun, eg., Use the switch to turn on the light. But because

  1   2   >