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

2024-06-28 Thread Darren Duncan
ould be more comfortable using it. -- Darren Duncan

Re: Raku regex assert doesn't match

2023-07-30 Thread Darren Duncan
considers 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/language/regexes#Conjunc

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: 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

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: 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: author specification

2022-05-11 Thread Darren Duncan
.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 best standard format for indicating this, eg "domain:muldis.com" but standa

Re: hope we have the distributed computing [Raku]

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

Re: Please create a Raku community channel

2021-03-13 Thread Darren Duncan
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: 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

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: My OOP keeper

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

Re: Checking for nil return

2020-12-31 Thread Darren Duncan
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

FYI - Raku grammar compile speedup with preceding surrounder syntax

2020-12-26 Thread Darren Duncan
ar 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: 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 knowledge

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 tests, nor

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

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 "

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-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: 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: 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: Once again - You say one thing and do another Re: Bug to report: cardinal called an integer

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

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: 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-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 the set

Re: Bug to report: cardinal called an integer

2020-01-12 Thread Darren Duncan
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: 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 aiming

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

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-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: On Fri

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

Re: Cardinals

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

Re: Perl6 -> Raku? whats the scope?

2019-10-17 Thread Darren Duncan
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 of the earliest

Re: Perl6 -> Raku? whats the scope?

2019-10-16 Thread Darren Duncan
. -- Darren Duncan

Is it possible for Str to not be well formed?

2019-09-15 Thread Darren Duncan
ay 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: Announce: Rakudo Perl 6 compiler, Release #131 (2019.07)

2019-07-17 Thread Darren Duncan
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

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

2019-02-03 Thread Darren Duncan
full stop. -- Darren Duncan

Re: An interesting math formula to share

2018-07-10 Thread Darren Duncan
Your saying "count all the number" is confusing and doesn't seem to relate to what follows. Did you mean to say "sum all the number"? -- Darren Duncan On 2018-07-10 2:02 AM, ToddAndMargo wrote: Hi All, Remembering from my school days, a famous mathematician whose n

Re: A proposal for Perl's branding - let's free all the butterflies

2018-02-16 Thread Darren Duncan
-language-name-for-perl6-goes-here (tm) -- Darren Duncan

Re: Naming debate- what's the location for it?

2018-02-16 Thread Darren Duncan
If we assume the use of NQP is part of the project's identity, then yes that makes sense. Historically that wasn't the case, eg the earlier Rakudo were written to Parrot PIR directly, and there's the possibility this could change again, though I see that as unlikely. Not a bad idea. -- Darren

Re: Naming debate- what's the location for it?

2018-02-10 Thread Darren Duncan
Bad idea. There should not be any number in the name, in any way shape or form. No six, no ten, or any other. Differentiating factors should be something not a number. -- Darren Duncan On 2018-02-09 9:15 PM, Brent Laabs wrote: Might as well follow Apple and Microsoft and call it Perl Ten

Re: Naming debate- what's the location for it?

2018-02-09 Thread Darren Duncan
ajor releases (albeit skipping 6 to avoid confusion) just as Postgres and many other projects do these days, as staying at 5.x forever is weird. -- Darren Duncan

Re: Naming debate- what's the location for it?

2018-02-08 Thread Darren Duncan
ctually lose the family thing. For documentation/marketing materials and to help with continuity, we can typically reference "the Rakudo language, a sibling of Perl", where the latter part is then more of a description. This is what I really think should and that I would

Re: %% with zero denominator

2017-12-11 Thread Darren Duncan
An Excuse does compare equal to itself. -- Darren Duncan

Re: %% with zero denominator

2017-12-11 Thread Darren Duncan
comparing that to zero, and it also has meaning for list-like uncountable collections. -- Darren Duncan On 2017-12-11 1:02 PM, Vittore Scolari wrote: I think that this stems from a confusion between the divisibility problem in integer number (on a ring) and the divisibility problem resolved by th

Re: %% with zero denominator

2017-12-11 Thread Darren Duncan
valid division then we do other particular arithmetic with the results. The expression "x %% y" is to be equivalent to "(x % y) == 0)". -- Darren Duncan

books for learning Perl 6

2017-08-07 Thread Darren Duncan
As was announced a few days ago, see https://perl6book.com which is a good site for outlining what books on learning Perl 6 exist and suggestions on where different kinds of users should start based on their needs. -- Darren Duncan

Re: Fwd: Re: Is win 32 being worked on?

2017-07-25 Thread Darren Duncan
describe are considered essential, they should receive updates to run with Win32; otherwise they should be dropped from Star as they are clearly not considered that essential. Dropped modules can still be installed separately as add-ons where they work. -- Darren Duncan

Re: Fwd: Re: Is win 32 being worked on?

2017-07-25 Thread Darren Duncan
PC makers, and yet other makers were shipping 32 bit only still 4 years after Apple stopped? -- Darren Duncan On 2017-07-25 12:16 PM, Mark Carter wrote: On 2017-07-25 11:05 AM, Mark Carter wrote: On 25/07/2017 18:34, Darren Duncan wrote: How often would someone reasonably be using a cutting

Re: Is win 32 being worked on?

2017-07-25 Thread Darren Duncan
a 64 bit Windows these days? -- Darren Duncan On 2017-07-23 10:29 AM, Steve Mynott wrote: Rakudo itself probably does compile on Windows 32-bit (or least it did last time I tried it). But here is no Rakudo Star 32 bit MSI due to problems with modules not working -- I think linenoise failed

Re: Announce: Rakudo Star Release 2017.07

2017-07-25 Thread Darren Duncan
On 2017-07-25 10:05 AM, Brandon Allbery wrote: On Tue, Jul 25, 2017 at 11:45 AM, Darren Duncan wrote: However I assume it is the 3 bullet points that the release announcement highlights: advanced macros, non-blocking I/O, bits of Synopsis 9 and 11. The fact the announcement

Re: Announce: Rakudo Star Release 2017.07

2017-07-25 Thread Darren Duncan
On 2017-07-25 8:32 AM, Steve Mynott wrote: On 25 July 2017 at 16:23, Darren Duncan <dar...@darrenduncan.net> wrote: There's a key difference however. While programming languages continue to evolve, the expectation is that a production-complete Rakudo would always be a functional su

Re: Announce: Rakudo Star Release 2017.07

2017-07-25 Thread Darren Duncan
Perl 6.c?" -- Darren Duncan On 2017-07-25 1:02 AM, Elizabeth Mattijsen wrote: If that is the question, the answer is: the junction of “never" and “now". Which would also be the answer for Pumpking Perl 5, or any other programming language like ever. Because as long

Re: Announce: Rakudo Star Release 2017.07

2017-07-24 Thread Darren Duncan
On 2017-07-24 11:40 AM, Steve Mynott wrote: A useful and usable production distribution of Perl 6 The download links on http://rakudo.org/how-to-get-rakudo/ still name the April release and will need updating. -- Darren Duncan

Re: set (+) set = bag ?

2017-07-21 Thread Darren Duncan
On 2017-07-21 1:33 PM, Elizabeth Mattijsen wrote: On 21 Jul 2017, at 21:30, Darren Duncan <dar...@darrenduncan.net> wrote: Firstly, I believe ∆ (U+2206) is the standard symbol for symmetric difference, and not circled minus as the above url currently gives. https://en.wikipedia.or

Re: set (+) set = bag ?

2017-07-21 Thread Darren Duncan
On 2017-07-21 12:30 PM, Darren Duncan wrote: On 2017-07-21 5:07 AM, Timo Paulssen wrote: You want (|) to get the union of two sets as a set. https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators hth - Timo Right. Every set operation except 1 (multiset sum) should result in a set

Re: set (+) set = bag ?

2017-07-21 Thread Darren Duncan
, but okay), but there should also be an operator for multiplying 1 bag by a natural number, that is a scalar multiply of a bag. Unless it is assumed the standard hyper-operator syntax is best for this. -- Darren Duncan

Re: Can this OR be shortened?

2017-03-24 Thread Darren Duncan
Just speculating, but try replacing the "||" with the "|" operator which should create an ANY Junction, if I'm not mistaken, which may then do what you want. -- Darren Duncan On 2017-03-24 5:58 PM, ToddAndMargo wrote: Hi All,, if $Terminal ~~ /xterm/ || /lin

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Darren Duncan
themselves. -- Darren Duncan

Re: per 5 converter?

2017-02-13 Thread Darren Duncan
On 2017-02-13 2:11 AM, ToddAndMargo wrote: On 02/12/2017 05:12 PM, Darren Duncan wrote: On 2017-02-12 5:08 PM, ToddAndMargo wrote: I presume my eyes would tell where I made the boo-boo. Lets hope! I am real tired of Perl 5's stone age subs declarations. @_, oh brother. In principle

Re: per 5 converter?

2017-02-12 Thread Darren Duncan
to have a single variable or keyword to represent the entire argument list as a single value. Logically, a single value is what an entire argument list is anyway, with individual arguments being components of that. -- Darren Duncan

Re: Can I call myself

2017-02-04 Thread Darren Duncan
but it may have been something like "SUB" or "SELF". -- Darren Duncan On 2017-02-04 12:34 AM, ToddAndMargo wrote: Hi All, Just out of curiosity, in Perl 6 can a subroutine call itself? -T I am fighting with a broken Net:FTP::rmdir in Perl 5 that will not recuse as ad

Re: fixing infinities and ranges etc

2016-12-11 Thread Darren Duncan
On 2016-10-30 4:11 PM, Darren Duncan wrote: On 2016-10-30 5:45 AM, yary wrote: Before/AfterEverything are also easy to understand, and would be as natural to use for sorting strings, eg. for saying if a database NULL should go before the empty string or after everything else. On the other hand

Re: [perl #130260] [LTA] Curly quotes are referred to as “smart quotes”, this is not entirely right

2016-12-04 Thread Darren Duncan
I want to give my strong support for this proposal. Call them "curly" quotes. The term "smart" is BAD in this context. Just like how short cars are not "smart" even if people say that, only self-driving cars deserve that name. -- Darren Duncan On 2016-12-04 10

Re: [perl #128897] [LTA] [MATH] "-0".Num isn't negative

2016-11-22 Thread Darren Duncan
And here I thought IEEE floats had distinct values to represent overflows and underflows that were distinct from both the zeros and the infinities. -- Darren Duncan On 2016-11-22 8:19 PM, Zefram wrote: Zoffix Znet via RT wrote: The reason we have a negative floating point zero at all is more

Re: fixing infinities and ranges etc

2016-10-30 Thread Darren Duncan
6 with a PSGI/Plack inspired design, meaning a no-mandatory-shared-code database interface: https://github.com/muldis/Muldis-DBI-Duck-Coupling-Perl6/blob/master/lib/Muldis/DBI/Duck_Coupling/API.pod -- Darren Duncan

fixing infinities and ranges etc

2016-10-27 Thread Darren Duncan
are the thoughts on this? Can we get appropriate improvements into Perl 6d and implementations etc? Also, is any of what I said actually already done? Certainly some key parts at least are not. Thank you. -- Darren Duncan

Re: coded size limits on Perl data types?

2016-09-13 Thread Darren Duncan
Thank you for this Timo, and to everyone else who replied. It did indeed address what I wanted to know. -- Darren Duncan On 2016-09-13 5:15 AM, Timo Paulssen wrote: I'll answer based on the data structures MoarVM uses internally: On 09/13/2016 05:13 AM, Darren Duncan wrote:> (Pret

coded size limits on Perl data types?

2016-09-12 Thread Darren Duncan
the types? Thank you. -- Darren Duncan

Re: can a method name contain a funny character?

2016-04-12 Thread Darren Duncan
it considers Greek letters when you mean symbols. For example, ∆ is U+2206 named INCREMENT. Is that not better, or is an actual Greek letter desired in the above example? -- Darren Duncan

Re: Very small feature suggestion

2016-03-09 Thread Darren Duncan
at idea. There is also precedent for a REPL to print a similar statement like "for help type this". -- Darren Duncan

Re: It's time to use "use v6.c"

2016-02-06 Thread Darren Duncan
tudy for whether there is truly a good reason for the code to work that way, or if there isn't. Keep in mind that the standard libraries are right now some of the primary examples Perl 6 developers would have to look at on how to write Perl 6 code. -- Darren Duncan

Re: is there a Perl 5 converter?

2016-01-20 Thread Darren Duncan
significant rewrites to take better advantage of the new Perl 6 features and idioms that a more mechanical automatic translation wouldn't. Did that tell you anything useful? -- Darren Duncan

Re: Perl 6 Advocacy Suggestion

2016-01-19 Thread Darren Duncan
I very much agree with this idea, of arguing Perl 6 as a teaching language. Academia are the ones that would appreciate what Perl 6 offers the most in the short term, whereas industry would demand a higher standard for it becoming popular. And the first can lead to the second. -- Darren Duncan

Re: perl 6 for rhel?

2016-01-11 Thread Darren Duncan
Red Hat is quite conservative. Usually what happens in situations like this when you want more up to date stuff you get it from alternate repositories that make Red Hat compatible packages. See also repositories for Fedora or Cent OS. -- Darren Duncan On 2016-01-10 11:16 PM, ToddAndMargo

Re: $epsilon = 1.0e-6 feels too big for Rat()

2015-12-31 Thread Darren Duncan
Considering that a non-fat Rat has a 64-bit denominator, I would expect conversions from Num to make use of that full precision by default, and not round off to 6 decimal places. -- Darren Duncan

Re: release?

2015-12-29 Thread Darren Duncan
and Python and Java after. I don't know yet if there is value to targeting Perl 6 at large when I have NQP; I could, but NQP is more important to do in practice I think. -- Darren Duncan

Re: release?

2015-12-29 Thread Darren Duncan
k of the spec or such, though in hindsight of your implementations leading spec comment, I assume this is also how one indicates dependencies on a spec-leading compiler. Thank you. -- Darren Duncan On 2015-12-29 5:46 AM, Patrick R. Michaud wrote: On Tue, Dec 29, 2015 at 01:57:57AM -0800, Darr

Re: release?

2015-12-29 Thread Darren Duncan
On that note, are there going to be Perl 6 versions 6.x.y where {x,y} are integers? Will 6.0.0 be the first such one? -- Darren Duncan On 2015-12-29 12:51 AM, Tobias Leich wrote: Hi, the first official Perl 6 (the language) release is not called 6.0.0, it is called 6.c. And this is what has

Re: Constants as members of a class

2015-12-17 Thread Darren Duncan
Since all you want is a constant, try declaring a submethod that has no arguments and returns the value, instead, its the same thing. -- Darren Duncan On 2015-12-17 6:46 PM, TS xx wrote: Hello dear perl6 users, I was in the need of declaring a member variable as a constant integer. After many

Re: Exploit the versioning (was Re: Backwards compatibility and release 1.0)

2015-10-15 Thread Darren Duncan
silently actually expect Perl 6.0.0.0 semantics. We're always going to be stuck with this problem if we don't make declarations mandatory now. That's a much more important change to ingrain into those several hundred existing modules, if they aren't already, nevermind the :D thing. -- Darren Duncan

Exploit the versioning (was Re: Backwards compatibility and release 1.0)

2015-10-14 Thread Darren Duncan
will get the current behavior with :D not being default. I say, save any further major breaking changes before this Christmas for things that would be really hard to change later and are sure to be worthwhile now, and the :D thing is not one of those. What do you think? -- Darren Duncan O

Re: Exploit the versioning (was Re: Backwards compatibility and release 1.0)

2015-10-14 Thread Darren Duncan
. I mean, this situation seemed to be a solid example of why Perl 6's versioning scheme exists in the first place, to deal elegantly with things like this. -- Darren Duncan

Re: Backwards compatibility and release 1.0

2015-10-13 Thread Darren Duncan
. -- Darren Duncan On 2015-10-13 1:52 AM, Richard Hainsworth wrote: 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

Re: To :D or not to :D

2015-10-12 Thread Darren Duncan
lasses. They share the same method spaces. Hey, that sounds like a nice elegant design, I learned something new. -- Darren Duncan

Re: Language design

2015-06-22 Thread Darren Duncan
of core. Exact rationals are not particularly complicated. Its perfectly reasonable to expect in the core that if someone does math that is known to deal with irrationals in general, that loss of precision then is acceptable. -- Darren Duncan

Re: versioning - how to request different 'ver' per 'auth'?

2015-06-11 Thread Darren Duncan
:auth etc. Note that I raised this question on #perl6 myself shortly before writing perl6-language, but the email version is better organized. -- Darren Duncan On 2015-06-10 11:38 PM, Tobias Leich wrote: Hi, that is a very interesting use case, and IMO a very valid one. Currently

Re: New Logo Design for perl6 modules

2015-06-11 Thread Darren Duncan
Or a pumpkin for that matter, since Perl 5 is Pumpkin Perl. -- Darren Duncan On 2015-06-11 7:42 PM, Darren Duncan wrote: I was going to say that too, about the camel trademark issues, so can you make a version using an onion instead of a camel? See http://www.perlfoundation.org for what I

Re: New Logo Design for perl6 modules

2015-06-11 Thread Darren Duncan
I was going to say that too, about the camel trademark issues, so can you make a version using an onion instead of a camel? See http://www.perlfoundation.org for what I refer to. -- Darren Duncan On 2015-06-10 11:34 PM, Moritz Lenz wrote: Hi, On 06/10/2015 02:01 PM, Lin Yo-an wrote: Hi

versioning - how to request different 'ver' per 'auth'?

2015-06-10 Thread Darren Duncan
how its done. Thank you. -- Darren Duncan

Re: Synopses size and revision state

2015-05-15 Thread Darren Duncan
Also, there are other newer API docs than the Synopsis that are useful for study, but printing all this stuff seems very excessive, even more so because the Synopsis etc keep changing. I advise against printing this stuff in bulk. -- Darren Duncan On 2015-05-15 7:54 AM, Elizabeth Mattijsen

Re: Can a user cheat and call a class's private method?

2015-05-12 Thread Darren Duncan
On 2015-05-12 12:40 PM, R. Ransbottom wrote: On Mon, May 11, 2015 at 03:22:46PM -0700, Darren Duncan wrote: you can use trusts. Also having to do this may indicate bad code design. -- Darren Duncan I saw Moritz' and Carl's responses and I agree with the smell issue. Given that the code

Re: Can a user cheat and call a class's private method?

2015-05-11 Thread Darren Duncan
See Moritz Lenz' response to this thread on March 26. To summarize, you can use trusts. Also having to do this may indicate bad code design. -- Darren Duncan On 2015-05-11 2:13 PM, R. Ransbottom wrote: I need to test some private routines, so is there a way to do

Re: Is there an equivalent env var to PERL5LIB for Perl 6 module locations?

2015-03-31 Thread Darren Duncan
I for one did not know/remember about PERL6LIB and rather all I knew was the more ambitious plan at http://design.perl6.org/S11.html about CompUnitRepo and such. -- Darren Duncan

Re: Function Signatures: Return Types (replace wantarray?)

2015-03-19 Thread Darren Duncan
return type outside the signature. -- Darren Duncan

Re: Function Signatures: Return Types (replace wantarray?)

2015-03-19 Thread Darren Duncan
names. -- Darren Duncan On 2015-03-19 3:20 PM, Tom Browder wrote: I need to replace the Perl 5 'wantarray' and think a multi method with differing return types should do it. So I've tried this: multi method foo($a, $b -- {Num,Num}) { #... } multi method foo($a, $b -- Num) { #... } and get

Re: Function Signatures: Return Types (replace wantarray?)

2015-03-19 Thread Darren Duncan
, each caller context can call foo() and use the result in the way it expects to. -- Darren Duncan On 2015-03-19 4:00 PM, Tom Browder wrote (in private): On Thu, Mar 19, 2015 at 5:53 PM, Darren Duncan dar...@darrenduncan.net wrote: I think as a general principle, multi methods should dispatch

Re: Bag with explicit 0 elements?

2015-02-28 Thread Darren Duncan
or intersection etc, and we would want consistency between values that arise that way versus ones explicitly selected with a literal. -- Darren Duncan

Re: S02 mistake re Blob?

2015-02-21 Thread Darren Duncan
On 2015-02-21 2:45 AM, Moritz Lenz wrote: Hi Darren, On 21.02.2015 08:51, Darren Duncan wrote: I notice from looking at http://design.perl6.org/S02.html that Blob is listed both as being a role and as a type. See http://design.perl6.org/S02.html#Roles for an example of the former, and http

  1   2   3   4   5   6   7   >