should it do here when it is?
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
backward to me...
Is there a reason $_ is readonly isn't a possible solution?
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
prefer immutable
things, it seems very odd to short circuit that in a key area like
this...
(Though personally, I would prefer it if map was readonly by default
on all containers.)
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
On Mon, Nov 2, 2009 at 2:03 PM, Solomon Foster colo...@gmail.com wrote:
On Mon, Nov 2, 2009 at 10:21 AM, Carl Mäsak cma...@gmail.com wrote:
Solomon (), Moritz ():
the current spec doesn't allow immutable containers to call .map with a
block that implicitly uses $_ as an implicit parameter
as
for exactly reflecting the concept of a radix-agnostic floating-point
number.
What's your objection to FatRat.new(45207196, 11 ** 37)?
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
before
after
Is this a bug or just documented behavior that I don't know about?
fail just returns an uncalled exception. What does that do in a where block?
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
On Tue, Jan 5, 2010 at 11:36 AM, Ovid
publiustemp-perl6langua...@yahoo.com wrote:
--- On Tue, 5/1/10, Solomon Foster colo...@gmail.com wrote:
From: Solomon Foster colo...@gmail.com
Is this a bug or just documented behavior that I don't
know about?
fail just returns an uncalled exception
declaring the real B?
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
a hack, but it is a simple one.
Thanks for reporting the problem!
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
and sponsors for
making Rakudo Perl possible, as well as those people who worked on parrot, the
Perl 6 test suite and the specification.
The following people contributed to this release:
Solomon Foster, Moritz Lenz, Jonathan Worthington, Martin Berends,
chromatic, Carl Masak, snarkyboojum, Stefan
, is it?
Certainly doesn't work in Rakudo and I've never seen a spectest
written like that...
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
basic forward sequence.
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
On Tue, Jul 20, 2010 at 10:00 PM, Jon Lang datawea...@gmail.com wrote:
Solomon Foster wrote:
Ranges haven't been intended to be the right way to construct basic
loops for some time now. That's what the ... series operator is
for.
for 1e10 ... 1 - $i {
# whatever
}
is lazy
by key if needed. (That is, %hash++ doesn't care about
the keys, %hash1 + %hash2 sums based on keys.) I would assume
that Bag should work in the exact same way. Dunno how Set should work
in this context, though.
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
... False # never stop
2, 5 ... * # shorter way of saying never stop
2, 1, 1/2 ... Num # stop when the number switches from a Rat to a Num
'a' ... /f/ # stop when the regular expression matches
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
is that it always
tests against the first 256 primes, so it also takes advantage of this
in correctness, if possibly not in speed.
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
rakudo and niecza implement significant subsets of the
set specification.
Cheers,
Moritz
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
Full list of Texas (ie ASCII) set operators:
union: (|)
intersection: ()
set difference: (-)
symmetric difference: (^)
subset: (=)
proper subset: ()
superset: (=)
proper superset: ()
is an element of: (elem)
is contained by: (cont)
On Thu, Jul 18, 2013 at 11:45 AM, Solomon Foster colo
($file.slurp)
since Grammar.parse() works on a Str, not a IO::Handle or Buf. Or am I
misunderstanding how this could be accomplished?
My understanding is it is intended that parsing can work on Cats
(hypothetical lazy strings) but this hasn't been implemented yet
anywhere.
--
Solomon Foster: colo
it really does take a symbolic math package to get
all combinations of the trig exponential functions right
https://cloud.sagemath.com/projects/3966ff36-7109-449d-83a9-49e48e078fea/files/2015-06-22-133206.sagews
.
-y
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http
more distressingly, (1e+100).Rat gives you
(1159028911097599180468360808563945281389781327557747838772170381060813469985856815104
1). That's only accurate to 10**83. Which is to say, it's as accurate as
a double gets -- 16-17 digits. (BTW, that is a legal Rat.)
I admit don't really know what to do with this.
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
is a quick and easy
way to convert from Num to FatRat with minimal loss of precision. I
believe right now the default Num -> FatRat conversion also uses 1e-6 as an
epsilon, which seems wrong to me.
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
22 matches
Mail list logo