though - well
actually foldl or foldr depending on which end of the list
you start at.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...Hacking's just another word for nothing left to kludge.
overloaded so easily...
He means right to left as in languages which are written starting
at the right of the page and moving left instead of the other way
round. Hebrew being the example Roman was interested in.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...The revolution will not be televised.
mments were particularly concrete suggestions
they were more just a question of throwing more data on what other
languages do onto the pile so we can choose the best bits to steal ;-)
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
uch more flexible but which isn't what C or pascal do.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...Are we THERE yet? My MIND is a SUBMARINE!!
In message <2804054645$[EMAIL PROTECTED]>
Tom Christiansen <[EMAIL PROTECTED]> wrote:
> Please, please, *PLEASE* read through Damian's fine paper on this
> entire matter before rendering judgment.
URL?
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.comp
damian/TPC/2000/switch/paper.txt
Very interesting. I look forward to your RFC on the matter ;-)
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
7;s own?? Or is this to do
> with bit order?)
VAX is either big or little. I can't remember which off the top
of my head.
You may be getting confused here with the middle-endian system
used by the PDP machines which goes 3412 or something rather than
the 1234 or 4321 that most machine
much the same. It also means you can sort the
dates to whatever accuracy you want by comparing each of the
first n elements in turn for some value of n defined bu the
accuracy you want.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...If we left the bones out it wouldn't be crunchy.
In message <[EMAIL PROTECTED]>
Glenn Linderman <[EMAIL PROTECTED]> wrote:
> Tom Hughes wrote:
>
> > VAX is either big or little. I can't remember which off the top
> > of my head.
> >
> > You may be getting confused here with the middle-e
foreach (keys %h) {if (/\+NY\+/) {$h2{$_}=$h{$_}}
>
> but try it on 50,000 keys.. ACK, time for a coffee break.
It may not be helping that a list of the 5 keys is implicitly
constructed by that syntax. If we get iterator support in perl6 then
that should hopefully make it somewhat more eff
default (I am asuming here)
Currently... I thought one idea for perl6 was to make more things
use iterators instead of creating large temporary lists.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...I'm so close to hell I can almost see Vegas!
vid raises are serious ones that must be addressed by
any solution.
I realise that much of this is really about internals so I will
ask that any followups which relate to implementation rather than
syntax changes need to support this go to the internals list rather
than the language list.
Tom
--
T
people are really after is efficient
implementations of these sort of primitives and so long as perl6
has support for things like fast XSUBs and iterators an efficient
implementation of things like zip and reduce could probably be done
as part of the standard library rather than in the core engine
de
time_t time(time_t *timer);
Description
[#2] The time function determines the current calendar time.
The encoding of the value is unspecified.
So it isn't necessarily true to say that all platforms will return
a number of seconds since the unix epo
h
> replace keys, values, and each functions on sorted arrays
I would have thought the obvious way to handle a sorted map would
be to keep it as a balanced tree instead of a hash internally - that
way you don't need to keep sorting it when you access it.
Of course it does make key acc
he new keyword C.
I think I've actually come up with a way to solve your problem
of modifying the hash during the iteration so that I can make my
implicit iterator strategy work again... I'm planning to write it
up as an internals RFC over the weekend.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
u're in)
I think you mean Gregorian, not Julian. If that's going to be your
requirement then you need to pick a date in the 20th century I think
as IIRC Russia didn't go Gregorian until then...
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...I haven't had sex in so long, I forget who gets tied up!
hat, but I guess
somebody might be relying on it without realising it.
As far as I can tell reset %x currently tries to reset any
variables which start with either % or x even though no variable
can start with %...
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...I can't remember where I parked my Hard Disk
xt
to apply a side effect to the elements.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...The two great tragedies in life: not getting what one wants and getting it.
gt; > >I think this is a superb idea, and look forward to someone's RFC'ing it.
>
> Should be part of the want() context. Permit operations to discover
> (as does split) how many elements they're being assigned to.
Alternatively could just push an iterator on th
quot;%percent"} = "Quoth the raven";
> print ${"%percent"}, "\n";
> reset("%");
> print ${"%percent"}, "\n";
> Quoth the raven
>
> Sure looks like it starts with a % to me...
OK so you can manage it if you diddle with the symbol table...
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...FATAL LOGIC ERROR - Engage Brain and (R)etry
In message <[EMAIL PROTECTED]>
Nathan Torkington <[EMAIL PROTECTED]> wrote:
> Tom Hughes writes:
> > I must admit it had never occurred to me that somebody might
> > deliberately use keys or values to achieve that, but I guess
> > somebody might be r
or might behave
> differently, if nested.
See RFC 136 for some thoughts on how this issue can be resolved when
multiple iterators are needed.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...The early worm gets the bird.
of context.
For data sensitive terminate I don't have a big problem with it.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...Somehow, somewhere along the line, this town lost its pride.
at isn't coming to mind
See the "Freezing state for keys and values efficiently" section
of RFC 136 for some powerful magic that could achieve this...
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...Reading is thinking with someone else's head instead of one's own.
25 matches
Mail list logo