G'day chromatic / p5p / p6l,
Make a list of all possible types of exceptions, define them as roles, and
group them that way. Any given exception can implement multiple roles (:CORE
and :io, for example, or a specialization of that role that also does :USER).
Excellent point. I've been
If a routine is rw, you may optionally define a single slurpy scalar
(e.g., '*$value') in its signature.
A good start, but why limit the Lvalue to a scalar? A list l-value seems like a
pretty useful thing to me.
-Martin
Brandon S. Allbery wrote:
John M. Dlugosz wrote:
Jon Lang wrote:
type (i.e., 'num'). Somehow, I had got it into my head that Num was a
role that is done by all types that represent values on the real
number line, be they integers, floating-point, rationals, or
irrationals. And really, I'd
Jon Lang dataweaver-at-gmail.com |Perl 6| wrote:
; I see. We just had a role-vs-class cognitive disconnect.
Officially, Num is the autoboxed version of the native floating point
type (i.e., 'num'). Somehow, I had got it into my head that Num was a
role that is done by all types that represent
Jon Lang dataweaver-at-gmail.com |Perl 6| wrote:
TSa wrote:
John M. Dlugosz wrote:
The sqrt(2) should be a Num of 1.414213562373 with the precision of the
native floating-point that runs at full speed on the platform.
That makes the Num type an Int with non-uniform spacing.
On 2008 Jun 3, at 3:15, John M. Dlugosz wrote:
Jon Lang dataweaver-at-gmail.com |Perl 6| wrote:
type (i.e., 'num'). Somehow, I had got it into my head that Num
was a
role that is done by all types that represent values on the real
number line, be they integers, floating-point, rationals,
Jon Lang dataweaver-at-gmail.com |Perl 6| wrote:
e g.
Learn from the Haskell folks, who are still trying to untangle the mess they
made of their numeric hierarchy (see
http://haskell.org/haskellwiki/Mathematical_prelude_discussion).
I'll look it over. That said, note that we're
On 2008 Jun 3, at 4:19, John M. Dlugosz wrote:
Jon Lang dataweaver-at-gmail.com |Perl 6| wrote:
e g.
Learn from the Haskell folks, who are still trying to untangle the
mess they
made of their numeric hierarchy (see
http://haskell.org/haskellwiki/Mathematical_prelude_discussion).
I'll
HaloO,
Mark J. Reed wrote:
In what the heck mathematical world is the square root of two an
infinite value? Irrationality and infinitude are not the same thing;
in particular, there are an (uncountably) infinite number of
irrational numbers...
I don't know what you accept as an infinity but
HaloO,
John M. Dlugosz wrote:
I don't know why he's calling it an Int with non-uniform spacing
unless he is complaining about what happens when you store ints in
floats: it rounds off to the mantissa size.
With uniform spacing you have
constant $step = 1;
and
$x++; # means $x = $x +
G'day Larry / p6l / p5p,
Larry Wall wrote:
One little problem at the outset here is that Perl 6 has almost no
concept of built-in or CORE, except insofar as the Prelude happens
to choose to import certain subs into the user's scope by default.
Once you actually start parsing and calling
Ryan Richter wrote:
On Tue, Jun 03, 2008 at 12:03:00PM +0200, Moritz Lenz wrote:
My last successful build was r18093 with GHC 6.6.1.
Maybe we should just die in Makefile.PL until somebody finds a fix.
Maybe we should just revert the pugs source to that rev. Haven't the
modifications since
On Tue, Jun 03, 2008 at 12:03:00PM +0200, Moritz Lenz wrote:
My last successful build was r18093 with GHC 6.6.1.
Maybe we should just die in Makefile.PL until somebody finds a fix.
Maybe we should just revert the pugs source to that rev. Haven't the
modifications since then basically just
13 matches
Mail list logo