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

World: r3wp

[Core] Discuss core issues

Maxim
12-Jul-2011
[1759]
well, if a "partially evaluated argument" is declared via a lit-word... 
 I don't know why I wound't use the label instead of the definition.
Steeve
12-Jul-2011
[1760]
This place is turning into a nit-picking place :-)
Ladislav
12-Jul-2011
[1761]
Exactly because a "lit-word argument" is an argument that is a lit-word, 
while an "unevaluated argument" is argument that is not evaluated.
Geomol
12-Jul-2011
[1762]
Steeve, or a place ruled by religion.
Ladislav
12-Jul-2011
[1763]
If the notion wasn't confusing, I would be the first one to suggest 
to use it
Steeve
12-Jul-2011
[1764x2]
Ladislav, all human languages are highly polysemous.

In the previous contexts, the words : "lit-word argument" may be 
deciphered as:
1) A passed  argument which is a lit-word (your point)
2) An argument that is declared as a lit-word (Brian's point)

The Brian's words are clearly meaningfull in this context, It's only 
you Ladislav who  decided that your personnal semantic representation 
was the only one possible. You couldn't be more wrong.
Or maybe I'm wrong ;-)
Ladislav
12-Jul-2011
[1766]
An argument that is declared as a lit-word (Brian's point)

 - again, an error. An argument, that is declared as lit-word looks 
 as follows:

    argument [lit-word!]


, while an argument, that is partially evaluated is declared as follows:

    'argument [any-type!]
BrianH
12-Jul-2011
[1767x3]
Ladislav's terms are better, in the sense of being more descriptive, 
but I'm unlikely to remember them because I've been using the old 
designations for 10+ years. I'll try, but don't give me a hard time 
if I don't get it at first.
I use "an argument that takes a lit-word" for this:
    argument [lit-word!]

and "an argument that is declared as lit-word" or some variant for 
this:
    'argument [any-type!]
But the latter is ambiguous if you don't know that I only use it 
in that way.
Steeve
12-Jul-2011
[1770x3]
Ladislav, in the sentence: "An argument that is declared as a lit-word" 
can only apply to 
 - 'argument [any-type!]

But it's ok if you say the contrary, I'm not good enough with enligh 
anyway, so I will not argue against that.
Ladislav, in the sentence: "An argument that is declared as a lit-word" 
can only apply to 
 - 'argument [any-type!]

But it's ok if you say the contrary, I'm not good enough with enligh 
anyway, so I will not argue against that.
Dou you speak Frenglish ? :-)
BrianH
12-Jul-2011
[1773]
Not really :(
Ladislav
12-Jul-2011
[1774]
'Ladislav, in the sentence: "An argument that is declared as a lit-word" 
can only apply to 

 - 'argument [any-type!]' - interesting, why do you think so, taking 
 into account, that the meaning of "an argument that is declared as 
 a lit-word" is pretty much standard in many contexts (programming 
 languages), not just in REBOL
BrianH
12-Jul-2011
[1775]
Not really - they say that about variables, but for arguments that 
is considered an ambiguous term, depending on which proglang community 
you're talking about of course.
Ladislav
12-Jul-2011
[1776x2]
How about all programming languages descending from ALGOL including 
C?
(for me it does count as "many contexts")
BrianH
12-Jul-2011
[1778]
In the English papers written about such languages, the phrasing 
is inconsistent (it is English, so that's to be expected), and there 
are cultural patterns in the communities associated with different 
programming languages, colleges, etc. There is no really consistent 
phrasing for this distinction.
Ladislav
12-Jul-2011
[1779]
Which distinction you mean?
Steeve
12-Jul-2011
[1780x2]
Thanks Ladislav,  I know my job very well but I continue to think 
that you're only arguing about: 
- This idea can only be expressed my way with my words.  

You don't recognise the simple fact that same words have different 
meaning inside different contexts.
Vernacular languages are polysemous, it's a fact.
Good point Brian
BrianH
12-Jul-2011
[1782]
Which distinction you mean?

 - Between a calling convention and a datatype, if the terms overlap. 
 Between the type of a variable, the type of a value, and the set 
 of types accepted by a function parameter, in languages where these 
 concepts are distinct. There's lots of subtle distinctions that need 
 to be made, and for many languages some of these distinctions are 
 different, tied to the particular semantics of the language. REBOL 
 has it worse than most because it's weird when compared to most mainstream 
 languages.
Ladislav
12-Jul-2011
[1783]
This idea can only be expressed my way with my words.  

 - an error, again. This is not about "my words", this is about the 
 official documentation. You are free to not read it, and argue it 
 does not even exist, but that is not an argument for me
Steeve
12-Jul-2011
[1784]
The official documenbation  suffer the same bias. You're reacting 
like a monk in front off the holy bibble.
Ladislav
12-Jul-2011
[1785]
suffers the same bias
 - do not understand what "bias" you mean
BrianH
12-Jul-2011
[1786]
It's nice to have an official way to express a concept, but that 
doesn't help much if it isn't the common way that the community uses 
to express that concept. It doesn't help to refer to the manual if 
that manual has been rewritten since the last time the person you've 
been talking to needed to read it. Accept that there are community 
standard terms, and hopt that the better terms in the manual win 
out eventually, or at least before the manual is rewritten again 
with even better terms.
Andreas
12-Jul-2011
[1787]
To add more confusion to the mix, lit-arg(ument) and get-arg(ument) 
worked fine as terms in the past :)
BrianH
12-Jul-2011
[1788]
hopt -> hope
Steeve
12-Jul-2011
[1789]
the bias of having english words which can express several different 
concept
BrianH
12-Jul-2011
[1790x2]
Andreas, I like those :)
Steeve, the bias of using an ambiguous language like English to discuss 
a precise topic :(
Steeve
12-Jul-2011
[1792]
+1
Ladislav
12-Jul-2011
[1793]
Andreas, yes, those terms existed for quite some time....
Gregg
12-Jul-2011
[1794]
Those are my preferred terms as well.
Henrik
13-Jul-2011
[1795]
what is the fastest way to deep copy a large object?
Dockimbel
13-Jul-2011
[1796]
Try:
>> new: make object! third <object>
Henrik
13-Jul-2011
[1797]
it does not work for nested objects.
Dockimbel
13-Jul-2011
[1798]
Then, you probably have to write an recursive function that will 
copy all nested objects. Have you looked for such function on rebol.org 
and in power-mezz package?
Henrik
13-Jul-2011
[1799x2]
I need special functionality, so I will write my own.
Turns out it's far too slow.
Maxim
13-Jul-2011
[1801x2]
object creation/duplication in Rebol is very slow, the binding just 
kills it.  can you re-build your system with block?
(or parts of it ?)
Henrik
13-Jul-2011
[1803]
I'm going to copy the parts I need instead.
Oldes
20-Jul-2011
[1804]
>> select [1 2 2 3] 2
== 2
>> select/skip [1 2 2 3] 2 2
== [3]

Why the second returns a block?
Cyphre
20-Jul-2011
[1805]
iirc this is known behavior/issue in R2...has been unified in R3
Gabriele
20-Jul-2011
[1806]
Oldes, try it with a skip of 3 or 4 to see why a block is returned. 
Not very handy in the 2 case though... but I guess there was a desire 
to avoid special cases.
Maxim
20-Jul-2011
[1807]
/skip return records
i.e.  
>> select/skip [1 2 3 4 5 6] 4 3
== [5 6]
Oldes
20-Jul-2011
[1808]
I'm just missing MAP! in R2:

>> m: make map! [1 2 2 3]
== make map! [
    1 2
    2 3
]

>> select m 2
== 3