ENDING OF: Re: return of copies vs references

2005-03-18 Thread Darren Duncan
I was just informed by IRC that 'return' propagates the context of the caller. If that's the case, then we can just drop this discussion, problems solved. Sorry for wasting your time. -- Darren Duncan At 12:07 AM -0800 3/18/05, Darren Duncan wrote: I suppose, generally ignore

plan to port SQL::Routine within a week

2005-03-20 Thread Darren Duncan
the Perl 5 versions of my other new modules can stand for some large changes in the Perl 5 versions that I prefer not to redo in a copy. Still, I should have a new module ported at least one per month following SQL::Routine. That is all for this status update. -- Darren Duncan

getting Perl 6 special support in text editors

2005-03-28 Thread Darren Duncan
d be getting a large influx of Perl 6 developers, and they might as well have the best possible experience. Assuming this request is accepted, I will post again when the supporting version is available and/or a roadmap is known. -- Darren Duncan -- Date: Mon, 28 Mar 2005 14:49

Re: return of copies vs references

2005-03-28 Thread Darren Duncan
that references of non-scalar values should be returned by default, and that the method must do an explicit copy if that's what they want returned. Things are much simpler that way, and its how Perl 5 worked. -- Darren Duncan

Perl 6 Makefile.PLs in /modules distros

2005-03-29 Thread Darren Duncan
them, as with the modules and their test suites themselves. The examples assume a perl 6 version of Pugs::MakeMaker exists, which it doesn't, but meanwhile that faux invocation serves as an illustration. -- Darren Duncan

identity tests and comparing two references

2005-03-31 Thread Darren Duncan
The ref compare should have its own operator. Now I seem to remember reading somewhere that '===' will do what I want, but I'm now having trouble finding any mention of it. So, what is the operator for reference comparison? Thank you. -- Darren Duncan

Re: identity tests and comparing two references

2005-04-01 Thread Darren Duncan
At 7:37 AM -0800 4/1/05, Larry Wall wrote: On Thu, Mar 31, 2005 at 11:46:22PM -0800, Darren Duncan wrote: : So, what is the operator for reference comparison? The =:= operator is almost certainly what you want here. Larry Thanks to everyone for their answers. Last night I started coding with

new Perl 6 module installer

2005-04-02 Thread Darren Duncan
fications. I intend to deliver "something" along these lines tomorrow, prior to the .14 release. The first delivery is not guaranteed to execute, but it should be easy to tell what it is trying to do by looking at it. -- Darren Duncan

ANNOUNCE: SQL-Routine/Rosetta developer release #2 - in Perl 6 too

2005-04-04 Thread Darren Duncan
2005-04-03 Darren Duncan <[EMAIL PROTECTED]> -- I am now pleased to announce the second developer release of my Rosetta rigorous database portability library, currently featuring the SQL::Routine module. (Considering the huge number of c

no new Perl 6 module installer

2005-04-05 Thread Darren Duncan
Since Matt's recent lists summary brought this up ... At 11:47 PM -0400 4/5/05, Matt Fowles wrote: Makefile.pl Darren Duncan noticed that while most things in pugs were written in Perl 5, while Makefile.PL was still in Perl 5. He suggested that the Makefile.PLs in various modul

Re: Pugs 6.2.0 released.

2005-04-12 Thread Darren Duncan
e result of the expression. If my assertion is used, then all you can short circuit once you find a true value and a false value. Of course, we should go with what the official mathematics standard is. -- Darren Duncan

Re: Truely temporary variables

2005-04-17 Thread Darren Duncan
inely useful. -- Darren Duncan

Re: { => } autocomposition

2005-04-20 Thread Darren Duncan
remember it being used to disambiguate. In any event, I used that form exclusively with my Perl 6 ports to date. So in that case, the test is wrong. -- Darren Duncan

Re: { => } autocomposition

2005-04-20 Thread Darren Duncan
At 8:43 PM +0200 4/20/05, Juerd wrote: Darren Duncan skribis 2005-04-20 11:40 (-0700): A clear way to disambiguate a block from a hash-ref when using map/grep/sort etc is to use a colon before the leading brace for a block rather than a space, like this: map:{ $_ => uc $_ } I think the b

Re: map { $_ => $_ } @foo

2005-04-24 Thread Darren Duncan
hod to test multiple times if an element is in an array, like this: my %foo = map:{ ( $_ => 1 ) } @bar; if( %foo{'abc'} ) ... if( %foo{'def'} ) ... if( %foo{'zrs'} ) ... That closure is returning a pair for each array element. -- Darren Duncan

Re: adverbial blocks: description and examples requested

2005-05-05 Thread Darren Duncan
x27;. The adverbial block lets you customize the verb and change its behaviour. This is how I understand adverbs. It's a very good system and should be used. -- Darren Duncan

Re: how to run test.pl before the t/*.t tests ?

2004-06-19 Thread darren chamberlain
* Gabor Szabo [2004/06/18 23:34]: > I am trying to add a bunch of tests in t/ using Test::More but in > order to make sure we don't lose any previous test we would like to > keep the test.pl file as it is. Is porting the tests in test.pl to *.t files not an option? (darren) -

Re: [OT] Re: Single Sign-on Re: Perl Passport?

2004-07-06 Thread darren chamberlain
don't think that Ask or Robert will give away the source, as it > is build specifically for perl.org and it's setup. Is that not http://svn.develooper.com/combust/auth/trunk/ ? You need a perl.org account to access it. (darren) -- Hell is other people. -- Jean-Paul Sartre pgpIteB8cgCwd.pgp Description: PGP signature

Re: Phalanx / CPANTS / Kwalitee

2003-10-14 Thread darren chamberlain
cially for those of us who use an offline CPAN mirror most of the time (i.e., when I don't have net access to poke search.cpan.org). (darren) -- "Quiet and courteous" is often mistaken for "kind and polite." -- Andrew Langmead pgp0.pgp Description: PGP signature

Re: Refactoring a test program: advice sought

2003-11-17 Thread darren chamberlain
ared towards writing TT tests. Some of my TT plugins use Template::Test instead of Test::More. (darren) -- There's no money in poetry, but there's no poetry in money, either. -- Robert Graves pgp0.pgp Description: PGP signature

Re: thinking about Test::HTML::Form

2003-12-03 Thread darren chamberlain
Or something similar. html_xpath is a horrid name, but you get the idea. I don't have any code to contribute (the original was implemented by someone else, in Python), but the idea is mostly formed in my head. I'd be happy to contribute ideas and/or code to implement such a beast. (da

Re: Change 22021: Upgrade to Test::Harness 2.40.

2003-12-31 Thread darren chamberlain
* Jim Cromie [2003/12/31 09:15]: > the diag()s just helped me find the broken tests. Isn't that what test names are for? (darren) -- In order to make an apple pie from scratch, you must first create the universe. -- Carl Sagan pgp0.pgp Description: PGP signature

Re: Fastest way to convert from a Buf to a Str?

2019-02-03 Thread Darren Duncan
use Buf or Blob etc full stop. -- Darren Duncan

Re: Announce: Rakudo Perl 6 compiler, Release #131 (2019.07)

2019-07-17 Thread Darren Duncan
nd 11 have long term support while Java 9 and 10 are already no longer supported. Who now can use Java 9 but not use Java 11? -- Darren Duncan

Is it possible for Str to not be well formed?

2019-09-15 Thread Darren Duncan
alize the result may not be particularly useful in the face of NFG. For a wider context, I know that in other programming languages like .NET or Java it is possible for their strings to have invalid surrogates, and I'm trying to figure out if Perl 6 can have the same problem or not. Thank you. -- Darren Duncan

Re: Perl6 -> Raku? whats the scope?

2019-10-15 Thread Darren Duncan
rence. -- Darren Duncan

Re: Perl6 -> Raku? whats the scope?

2019-10-16 Thread Darren Duncan
ep a close eye on the situation and be ready to change it again quickly if something else actually becomes the official replacement. -- Darren Duncan On 2019-10-16 9:09 a.m., Joseph Brenner wrote: Last I looked, raku.org redirects to perl6.org already. On 10/15/19, Darren Duncan wrote: One

Re: Cardinals

2020-01-02 Thread Darren Duncan
ze number and it can also be negative. -- Darren Duncan

Re: Cardinals

2020-01-03 Thread Darren Duncan
excludes them.) -- Darren Duncan On 2020-01-03 12:03 a.m., Todd Chester via perl6-users wrote: On 2020-01-02 22:19, Darren Duncan wrote: On 2020-01-02 10:01 a.m., ToddAndMargo via perl6-users wrote: How do I do a 32 bit unsigned integer (cardinal)?  I have a situation where I need to be able to

Re: rakudo.org outdated?

2020-01-04 Thread Darren Duncan
Isn't there typically automated test suites that can prove in a few minutes that Rakudo works on a particular platform? Would running this typically be good enough to show that nothing broke in an update? -- Darren Duncan On 2020-01-04 11:10 a.m., Patrick Spek via perl6-users wrote: O

Re: rakudo.org outdated?

2020-01-04 Thread Darren Duncan
On 2020-01-04 5:21 p.m., Patrick Spek via perl6-users wrote: On Sat, 4 Jan 2020 15:43:37 -0800 Darren Duncan wrote: Isn't there typically automated test suites that can prove in a few minutes that Rakudo works on a particular platform? Would running this typically be good enough to show

Re: rakudo.org outdated?

2020-01-05 Thread Darren Duncan
On 2020-01-05 1:51 p.m., Patrick Spek via perl6-users wrote: On Sat, 4 Jan 2020 22:23:30 -0800 Darren Duncan wrote: Last I recall, there was no Mac installer for Rakudo Star at all, nor was there any need for one. The compiled project is simply in a zip file which the end-uaer unzips and then

Re: rakudo.org outdated?

2020-01-06 Thread Darren Duncan
On 2020-01-06 1:18 a.m., Patrick Spek via perl6-users wrote: On Sun, 5 Jan 2020 18:27:01 -0800 Darren Duncan wrote: The normal Rakudo Star releases so far are compiled, [...] For Mac and Windows, perhaps, but the release is similar as it always was for GNU+Linux. And I'm mostly aimin

Re: Bug to report: cardinal called an integer

2020-01-12 Thread Darren Duncan
calling a uint32 an "unsigned integer" or "cardinal" is inaccurate in the same way that calling it an "integer" is. In either case, the variable can only hold a proper subset of either type, not all of them. If you're calling integer wrong then one will have to call the type something like "integers in the range 0..^2**32". -- Darren Duncan

Re: Bug to report: cardinal called an integer

2020-01-13 Thread Darren Duncan
Brad is saying what I've been saying, while a uint CAN represent a cardinal number, one does NOT ALWAYS represent a cardinal number, so saying this only IS a cardinal number is WRONG. -- Darren Duncan On 2020-01-13 12:56 p.m., Brad Gilbert wrote: Ok looking into it, zero is inside of th

Re: Bug to report: cardinal called an integer

2020-01-13 Thread Darren Duncan
On 2020-01-12 11:32 p.m., ToddAndMargo via perl6-users wrote: On 2020-01-12 20:03, Darren Duncan wrote: A uint32 is NOT specifically a cardinal. Since a uint32 ca not be negative or a fraction, it is a cardinal.  Other operating system do call them cardinals, such as Modula2. Pascal, C++ (I

Re: Bug to report: cardinal called an integer

2020-01-16 Thread Darren Duncan
e unsigned integer: P6opaque, Str I also believe the latter would work best for this. -- Darren Duncan

Re: Once again - You say one thing and do another Re: Bug to report: cardinal called an integer

2020-01-16 Thread Darren Duncan
larly. -- Darren Duncan

Re: problems with xor

2020-01-17 Thread Darren Duncan
On 2020-01-17 9:00 p.m., ToddAndMargo via perl6-users wrote: Still don't know what they used the word "sub" The term "sub" is short for "subroutine", and declaring routines that way is part of the Perl legacy that lasted into Raku. -- Darren Duncan

Re: perl6 with XS

2020-02-02 Thread Darren Duncan
Raku has the Native Call interface https://docs.raku.org/language/nativecall which is what you use instead. -- Darren Duncan On 2020-02-02 6:36 p.m., wes park wrote: HI In perl5 we can use the underline C library for example JSON C with XS interface. In perl6 how can we implement it? Thanks

Re: irrational nubmer?

2020-02-19 Thread Darren Duncan
into Raku are non-symbolic, so the test is simply "false". There probably are or probably can be symbolic numeric types, but they wouldn't be core. -- Darren Duncan On 2020-02-19 6:57 p.m., ToddAndMargo via perl6-users wrote: Hi All, This is a complete trivia question. Is

Re: irrational nubmer?

2020-02-20 Thread Darren Duncan
ype can represent is exactly expressible as the ratio of 2 integers. -- Darren Duncan

Re: irrational nubmer?

2020-02-22 Thread Darren Duncan
On 2020-02-20 2:22 p.m., ToddAndMargo via perl6-users wrote: On 2020-02-20 00:41, Darren Duncan wrote: On 2020-02-20 12:10 a.m., Tobias Boege wrote: Granted, Todd would not have anticipated this answer if he calls arbitrary length integers "magic powder" and the question "I hav

Re: doing an inner join via cross-product

2020-07-19 Thread Darren Duncan
This reminds me of my 2009 Set::Relation Perl module, which works to help you do SQL features like this in your application, but will soon be superseded by another module that also has a Raku version. -- Darren Duncan On 2020-07-19 1:02 p.m., Joseph Brenner wrote: I was thinking about the

Re: Place for examples in a Raku module?

2020-08-14 Thread Darren Duncan
I would put the examples folder at the root level of the distro, as a peer to lib and a peer to the tests folder. -- Darren Duncan On 2020-08-13 9:25 p.m., Stuart Hungerford wrote: Hi, I'd like to add some example modules to a Raku module I'm working on. These are not strictly

Re: The SF Perl Raku Study Group, 10/4 at 1pm PDT

2020-10-01 Thread Darren Duncan
These messages are archived on the public internet as far as I know so you've just made your room and its password published publicly. I hope your Zoom has a waiting room enabled. -- Darren Duncan On 2020-10-01 12:24 p.m., Joseph Brenner wrote: Where is the wisdom we have lost in know

FYI - Raku grammar compile speedup with preceding surrounder syntax

2020-12-26 Thread Darren Duncan
grammar compile in 1 second rather than 6-7 seconds on my 2013 machine. See https://github.com/muldis/Muldis_Object_Notation/commit/568713257c474ad393d2dd6777e2147432cf6ec5 for the exact diff in question that led to this speedup. -- Darren Duncan

Re: Checking for nil return

2020-12-31 Thread Darren Duncan
lated features, and in that case they WOULD be normal arguments or return values. And so the regular type system still needs to support having anything at all as an argument or return value. -- Darren Duncan

Re: My OOP keeper

2021-02-14 Thread Darren Duncan
ku OO system. So does "keeper" mean "documentation" here? Otherwise please explain, thank you. -- Darren Duncan

Re: My OOP keeper

2021-02-14 Thread Darren Duncan
Thank you to those who replied to my question with private messages. I now understand what is meant by "keeper" here. -- Darren Duncan On 2021-02-14 1:38 p.m., Darren Duncan wrote: On 2021-02-12 8:12 p.m., ToddAndMargo via perl6-users wrote: I have been working on this keeper f

Re: Please create a Raku community channel

2021-03-13 Thread Darren Duncan
I agree, I would also like to know of this official channel and join it. -- Darren Duncan On 2021-03-12 11:21 p.m., Richard Hainsworth wrote: This is a request to the Raku Coordinating Council that was elected at the end of last year. Please name a channel where community wide plans or

Re: Please create a Raku community channel

2021-03-13 Thread Darren Duncan
x27;t see why they can't BOTH be official sites, like Version 1 plus Version A, no reason to have to pick one. -- Darren Duncan

Re: hope we have the distributed computing [Raku]

2021-11-27 Thread Darren Duncan
nd be the primary developer working on it? -- Darren Duncan

Re: author specification

2022-05-11 Thread Darren Duncan
et domain name, say "muldis.com" or alternately its reversed "com.muldis" form, as an "auth" while making it explicit that this is an internet domain name, but without naming any protocols like "http" or "https" etc. Is there some kind of bes

Re: Using fez

2022-07-11 Thread Darren Duncan
On 2022-07-10 10:56 a.m., Elizabeth Mattijsen wrote: Fez (aka https://360.zef.pm) will provide *all* versions. The above url just displays a big data structure when visiting it in a web browser, and not a normal website, is that correct? -- Darren Duncan

Re: Rust community in distress

2023-06-08 Thread Darren Duncan
And here Rust seemed to be massively gaining in popularity, and was just supported officially for Linux kernel driver support etc. -- Darren Duncan On 2023-06-08 11:17 a.m., Parrot Raiser wrote: See https://youtu.be/QEnuzwCWpgQ <https://youtu.be/QEnuzwCWpgQ> This is not meant to be an e

Re: Rust community in distress

2023-06-09 Thread Darren Duncan
The video is less than 10 minutes long, its not that much effort to watch. The TL;DW is some bad stuff happened but some things are improving after. -- Darren Duncan On 2023-06-09 12:26 a.m., Veesh Goldman wrote: Could I get a TL;DW on that video? I love Rust, and would hate to see anything

Raku regex assert doesn't match

2023-07-29 Thread Darren Duncan
g for a fully declarative solution in the grammar itself, not something involving post-processing. Thank you. -- Darren Duncan

Re: Raku regex assert doesn't match

2023-07-30 Thread Darren Duncan
onsiders a char, and this seemed the best way to be sure. -- Darren Duncan On 2023-07-30 9:30 p.m., William Michels via perl6-users wrote: Hi Darren (and Marcel), Two different approaches: https://docs.raku.org/language/regexes#Conjunction:_&&; <https://docs.raku.org/languag

Re: PostgreSQL: Raku as a "trusted" language?

2024-06-28 Thread Darren Duncan
nd they would be more comfortable using it. -- Darren Duncan

request for a few Pugs parser updates

2007-04-08 Thread Darren Duncan
erved that uncommenting the values of the Hash declaration at the top of AST.pm causes Pugs to infinite-loop at runtime. While I will revisit this to try and debug it, I may possibly need help there later. Thank you in advance. -- Darren Duncan

Re: CGI.pm renaming (was Re: CGI Session management (was Re: the CGI.pm in Perl 6))

2007-04-14 Thread Darren Duncan
acement effort has been started. See the ext/HTTP/ and ext/Web/ skeleton code in the current Pugs repository, which is basically a copy of Juerd's code in the discussion emails, which I wrapped with distributions on his behalf on 20070217. Presumably Juerd will get back to these when he has the tuits, but meanwhile you could try improving what he started. -- Darren Duncan

Re: CGI.pm renaming (was Re: CGI Session management (was Re: the CGI.pm in Perl 6))

2007-04-15 Thread Darren Duncan
/HTTP/docs/ The main advantage to seeing the perl6-users archive versions is that list replies from other people can also be seen there. -- Darren Duncan

variable type specific sigils (was Re: Sigils by example)

2007-05-14 Thread Darren Duncan
$bar = $foo; # copy by reference @$bar = @$foo; # copy by value Actually, I think that would be a vast improvement, as we could then use the @ prefix with any collection type as short-hand to say that = is copy by value. I also don't think the language would feel any less Perlish with

Re: variable type specific sigils (was Re: Sigils by example)

2007-05-14 Thread Darren Duncan
At 5:00 PM -0700 5/14/07, Darren Duncan wrote: On the other hand, unless this steps on something, I could suggest dropping the @ and % anyway, so we have $array and $hash, and then we could instead use the @ and % sigils as a prefix to indicate in that case that we want them to copy by value

protecting internals from mutable arguments

2007-05-17 Thread Darren Duncan
ich stays immutable. We wouldn't want to lose that ability.) Um, yes, so thank you all who assist in solving this problem. -- Darren Duncan --- [ 11:42pm ] dduncan : given that afaik it is best practice when declaring parameter types or testing argument types that .does() is used

Re: variable type specific sigils

2007-05-17 Thread Darren Duncan
ypes that could typically bind to each of the sigils (and everything can bind to $). Larry thought that perhaps S02 would be the place for it. In conclusion, I retract my previous suggestion of just using $ where we used to use @ and %. -- Darren Duncan

Re: [svn:perl6-synopsis] r14401 - doc/trunk/design/syn

2007-05-24 Thread Darren Duncan
into an array, but if it doesn't have meaning besides this, in the general case. Same as all does Str or all does Bool et al. -- Darren Duncan

Re: [S02] Sigils

2007-05-24 Thread Darren Duncan
the same as Any $foo. There is no type called Any; that is just a flag for when you accept Object. Or so I was thinking. If the actual situation is different, please say how. -- Darren Duncan

Re: [svn:perl6-synopsis] r14407 - doc/trunk/design/syn

2007-05-29 Thread Darren Duncan
does. We're using "any" more in that "any of a restricted set" sense than in the "any of the universal set" sense. Now that I've heard the explanation of what Any means, I also have no objection to continuing to use that, such that Any is the complement of Junction under Universal/Object. -- Darren Duncan

Re: [svn:perl6-synopsis] r14407 - doc/trunk/design/syn

2007-05-31 Thread Darren Duncan
ail. If it is true that int et al (ignoring autoboxing) is not conceived of as an object by users, that reinforces the idea that Universal sounds more like "everything" than Object does. -- Darren Duncan

propose renaming Hash to Dict

2007-05-31 Thread Darren Duncan
. After this change, the term Hash is then freed up to be used more specifically to describe an implementation detail of something and/or hashing functions et al. I think this change would be a good thing. Feedback is appreciated, either pro or con. -- Darren Duncan

Re: propose renaming Hash to Dict

2007-05-31 Thread Darren Duncan
iated matter now. -- Darren Duncan

Re: = at Start of Line ... solution is simple

2007-06-16 Thread Darren Duncan
nfused with pod, which is always not indented. Simple. And since Perl 6 does consider whitespace significant sometimes, this is not unprecedented. -- Darren Duncan

ANNOUNCE - Muldis::DB v0.0.0 released, in p5+p6

2007-06-21 Thread Darren Duncan
s benefit, and to save me from repeating the same answers ad nauseum. Unless the response is not suitable for public discourse, in which case, sure, go private email; ditto if you're not sure about appropriateness. Thank you in advance. -- Darren Duncan

Re: Web Module (Was: Perl6 new features)

2007-06-21 Thread Darren Duncan
the Pugs repo since Feb 17th. Actually, see http://svn.pugscode.org/pugs/ext/HTTP/docs/ first, which is a copy of the important emails by Juerd which the HTTP+Web were started from. -- Darren Duncan

ANNOUNCE - Muldis::DB v0.0.0 released, in p5+p6

2007-06-21 Thread Darren Duncan
s benefit, and to save me from repeating the same answers ad nauseum. Unless the response is not suitable for public discourse, in which case, sure, go private email; ditto if you're not sure about appropriateness. Thank you in advance. -- Darren Duncan

Re: Web Module (Was: Perl6 new features)

2007-06-21 Thread Darren Duncan
orry about now. -- Darren Duncan

Re: Some questions about using NaN and Inf

2007-10-06 Thread Darren Duncan
answer for them. By contrast, the =:= operator always tests if 2 things are the same object or not, even for those of value types. -- Darren Duncan

Re: pugs with ghc 6.8.1

2007-11-17 Thread Darren Duncan
, Wim I think the only reason not to break 6.6.1 is if there are any major platforms that 6.6.1 runs on and 6.8.1 doesn't. Or alternately, only break if it isn't easy enough to work around their differences with conditionals. -- Darren Duncan

Re: xml and perl 6

2007-11-28 Thread Darren Duncan
extensions should be in the core. Now, it may just so happen that certain extension-installing tools might make use of XML-based protocols to do their job, but that's beside the point; presumably these would be very specialized and not support any aspect of XML that isn't specific to

Re: perl 6 and web open source projects

2007-12-03 Thread Darren Duncan
At 2:51 PM +0900 12/4/07, cdumont wrote: Sorry. Where can I find a mailing list that is about Perl 6 in general then? Thank you. I would recommend that [EMAIL PROTECTED] is the best place to talk about these things, out of the official Perl 6 lists that I know of. -- Darren Duncan

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

2007-12-10 Thread Darren Duncan
such as myself. I for one can assert that both of these are being produced right now. Also that neither is part of the Perl 6 kernal, though the kernal may enhanced over time to better support them. -- Darren Duncan

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

2007-12-11 Thread Darren Duncan
At 10:23 AM +0300 12/11/07, Richard Hainsworth wrote: Darren Duncan wrote: At 9:04 AM +0300 12/10/07, Richard Hainsworth wrote: Equally, Something to replace CGI or DBI will be essential to the uptake of P6. I would far prefer to have a skilled and resourceful professional, such as yourself

Re: Allowing '-' in identifiers: what's the motivation?

2008-08-11 Thread Darren Duncan
llary". Alternately, the word is spelled "niladic", which also has the advantage of looking like "monadic", "dyadic", etc. -- Darren Duncan

Re: Allowing '-' in identifiers: what's the motivation?

2008-08-12 Thread Darren Duncan
ing-quoted, that feature should be enough to let us use things like whitespace in names, so unquoted identifier names should err on the side of being more strict and limited, I think. -- Darren Duncan

Re: Speccing Test.pm?

2008-09-02 Thread Darren Duncan
as users say "use Perl-6.0.0" their code relying on the older/current Test.pm like interface won't break. -- Darren Duncan

Re: Smooth numeric upgrades?

2008-10-04 Thread Darren Duncan
no reason to make floats an exception where they aren't unlimited where integers and other rationals are; after all, what is a float or scientific notation than just another notation for a rational value literal. -- Darren Duncan

Re: Smooth numeric upgrades?

2008-10-04 Thread Darren Duncan
nent is always -1 then your profile should be the same as a numerator/denominator representation. By contrast, normalization for best memory use would involve using as large a number as possible in the exponent; ideally the radix would be small as possible, such as 2 or 10. -- Darren Duncan

Re: Smooth numeric upgrades?

2008-10-05 Thread Darren Duncan
Darren Duncan wrote: 4.5207196*10**30 -> 45207196*10**37 Before anyone nitpicks, I meant to say on that line: 4.5207196*10**44 -> 45207196*10**37 -- Darren Duncan

Re: Smooth numeric upgrades?

2008-10-05 Thread Darren Duncan
units as additional attributes or metadata. -- Darren Duncan

Re: Smooth numeric upgrades?

2008-10-05 Thread Darren Duncan
t would be exact and unlimited precision, and maybe Symbolic or IRat or something would be the symbolic number type, also with exact precision components. Come to think of it, isn't "whatever" how Num is already defined? If so I think that is clearly distinct from Rat. -- Darren Duncan

Re: Smooth numeric upgrades?

2008-10-05 Thread Darren Duncan
, an inexact numeric sin() that results in an exact rational is just a wrapper over the last 2 operations combined, and it takes rounding-control parameters. I see no problem here. -- Darren Duncan

Re: Collapsing Junction states?

2008-11-13 Thread Darren Duncan
nction are as if it had; so eg that reduction could be done lazily, just when the Junction is first used. -- Darren Duncan

Re: Collapsing Junction states?

2008-11-13 Thread Darren Duncan
e definition of a Junction as "Set with additional behaviors" but the one() constructor just excludes values that appear multiple times in its argument list. In other words, one() *is* the same as any() except for the added filter. -- Darren Duncan

Re: Files, Directories, Resources, Operating Systems

2008-11-26 Thread Darren Duncan
common default value of a boolean-typed argument is false. Naming something "case_sensitive" implies that sensitivity is special whereas sensitivity should be considered normal, and rather insensitivity should be considered special. -- Darren Duncan

Re: Files, Directories, Resources, Operating Systems

2008-11-26 Thread Darren Duncan
collation was just partially ordered. See what a mess it's going into? Larry, can you think of something simple? I haven't been able to. Unicode solves so few of the problems people think it does. We've still so much to do, and I don't just mean perlers. AFAIK

Re: Files, Directories, Resources, Operating Systems

2008-11-27 Thread Darren Duncan
Tom Christiansen wrote: In-Reply-To: Message from Darren Duncan <[EMAIL PROTECTED]> There is ABSOLUTELY NO WAY I've found to tell whether these utf-8 string should test equal, and when, nor how to order them, without knowing the locale: "RESUME",

how to write literals of some Perl 6 types?

2008-12-01 Thread Darren Duncan
al of some other type and using a conversion function to derive the above? The above is my main question, but also I wonder about how to make an anonymous literal of a KeyHash|KeySet|KeyBag. And also how does one specify a Rat vs a Num or what does "18.2" or "4/3" actually get you? And also is there such a thing as a Buf literal and if so how do you write one? Thank you. -- Darren Duncan

Re: how to write literals of some Perl 6 types?

2008-12-02 Thread Darren Duncan
Moritz Lenz wrote: Darren Duncan wrote: But some significant ones I don't know and really want to know: Bit Blob Set Bag Mapping I guess that Mapping is analog to the List/Seq case: :a(2), :a; Sure, but given how Pair literals work, how would you know whether the

<    1   2   3   4   5   6   7   >