[REBOL] Re: Maplist?
From: dness:home at: 8-Sep-2001 17:52
Tim Johnson wrote:
> dst: make block! length? test ; save memory reallocation internally
> ndx: 1
> loop length? test[append dst to-integer test/:ndx ndx: ndx + 1]
> >> test
> == ["123" "4567"] ; is not changed
> >> dst
> == [123 4567] ; new block as a result
Thanks. That's a help. I'll try it in my context.
I should say, though, that I am surprised give how _direct_ REBOL is
for solving so many problems that there isn't some sort of
APPLY function that would take a F and an [L} and produce a [F(L)]
IYSWIM.
> > perhaps more importantly,
> > what documentation should I look at that would point me in the
> > direction to solutions to this class of problems...
> If I've understood you here, the core user's manual goes into series
> if great depth with charts and everything.
Actually, since the `higher view' of what I want to do is so simple, I
thought it was undoubtedly _there_ somewhere in the documentation and I
had missed it. Your answer indicates that it isn't so simple, and
thus isn't `there' in the docs for good reason.
> PS: I wish I know more about lisp, I think a knowledge of lisp
> would add to the rebol "literature".
> Perhaps you're the one?
Certainly not yet, but perhaps someday when I am more comfortable
with REBOL.
Thanks again.