r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

Pekr
13-Feb-2009
[11185]
You mean fileshare for RebDev?
BrianH
13-Feb-2009
[11186x2]
Add file management to RebDev and you have the new DevBase. "RebDev" 
was always a codeword - the real name is DevBase.
Or it will be when Carl finishes with the file stuff, and some stability 
fixes.
Steeve
13-Feb-2009
[11188]
cuurently guys, the command files are already here in the chat, (submit, 
accept, deny) but i haven't the rank to test it...
BrianH
13-Feb-2009
[11189]
Really? I thought that we just had the ranks, but the files weren't 
there yet.
Steeve
13-Feb-2009
[11190x3]
type ??
i tried them, but my rank is too low
you have to create a name first (command: name)
BrianH
13-Feb-2009
[11193]
My rank is high enough, but I don't think the commands work yet. 
There wasn't even a public decision on whether the file tree would 
be seperate or integrated with the message tree.
Steeve
13-Feb-2009
[11194]
i think it will be mixed, reading the source, i guess than a file 
can be attached to a an header or to a name msg
BrianH
13-Feb-2009
[11195]
Cool - that was my preference. I've been focusing on REBOL this week, 
not chat.
Steeve
13-Feb-2009
[11196]
i guess names msg are here to construct file trees
BrianH
13-Feb-2009
[11197]
Speaking of which, what do yo think of my /into option proposal?
Steeve
13-Feb-2009
[11198]
Nothing special, it's an new feature, so it's wellcome.
BrianH
13-Feb-2009
[11199]
I'll take that as neutral :)
Steeve
13-Feb-2009
[11200]
yep :)
Henrik
13-Feb-2009
[11201]
About FIND-ALL, would it not always return the result as indexes 
from the original block?
BrianH
13-Feb-2009
[11202x2]
The trick with FIND-ALL is that it doesn't reeturn anything - it 
executes a code block wioth each find.
FIND-ALL is like FORALL, but with FIND.
Henrik
13-Feb-2009
[11204]
Then I think the name is misleading. Or will there be a FIND/ALL?
BrianH
13-Feb-2009
[11205x2]
There may be, and it could be useful with /skip.
FORFIND perhaps?
Henrik
13-Feb-2009
[11207x3]
That could be, or as a step argument to FOR.
(who says step must be a constant?)
then again, how would one pass it. it seems that FOR already uses 
series! as step input.
Steeve
13-Feb-2009
[11210]
eh guys, if you continue like that, i guess you will rediscover parse
BrianH
13-Feb-2009
[11211]
This kind of function is usually easier to implement as a mezzanine.
Henrik
13-Feb-2009
[11212]
Steeve, I know. You can do everything with PARSE in only 10 times 
as much code as with a single mezz. :-)
Pekr
13-Feb-2009
[11213]
Parse - we first need all those handy enchancements being implemented 
:-)
BrianH
13-Feb-2009
[11214]
R2 backports of the R3 reflection functions are now done.
Pekr
13-Feb-2009
[11215]
So - are we heading towards new R2 release?
BrianH
13-Feb-2009
[11216x3]
That's REFLECT and its associated *-OF functions. Yes, gradually, 
as R3 gets fuurther along. The backports can be used with existing 
releases though - I'm bundling them all into %r2-forward.r.
I also backported CAUSE-ERROR, which triggers errors safely.
Also the proposed QUOTE and ACCUMULATE.
Steeve
13-Feb-2009
[11219x2]
quote ?
accumulate -> cumul (shorter name)
BrianH
13-Feb-2009
[11221x4]
QUOTE is a Peta special, a simple function to perform a nasty trick 
in as little code as possible. It blocks evalation :)

; R3 version
quote: func [
	"Returns the value passed to it without evaluation."
	:value [any-type!]
] [
	:value
]

; R2 version
quote: func [
	"Returns the value passed to it without evaluation."
	:value [any-type!]
] [
	get/any 'value
]
It's like the Scheme function of the same name.
evalation -> evaluation
CUMUL is not an English word (but let me check). I picked ACCUMULATE 
because it is the industry standard (for procedural langs).
Steeve
13-Feb-2009
[11225]
oh sorry it's french (i tried)
BrianH
13-Feb-2009
[11226x2]
We are not going the Perl 6 route :)
I'm checking a thesaurus.
Steeve
13-Feb-2009
[11228]
and ACCU ?
BrianH
13-Feb-2009
[11229]
GATHER perhaps?
Steeve
13-Feb-2009
[11230]
http://en.wikipedia.org/wiki/ACCU
Henrik
13-Feb-2009
[11231]
BrianH, check #1804, for a GATHER function that does something else.
BrianH
13-Feb-2009
[11232x3]
That sounds like a better function to call GATHER. ACCUMULATE will 
get called less than that.
It could use the /into option though.
With all of these collection synonym functions it will be interesting 
to keep them straight.