World: r3wp
[Core] Discuss core issues
older newer | first last |
BrianH 12-Jul-2011 [1769] | 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 |
BrianH 20-Jul-2011 [1809x2] | Fortunately the /skip in SELECT/skip is ignored for map! in R3, so you can just use it in both. |
Darn the R2 version does a copy/part. Silly differences. | |
Oldes 20-Jul-2011 [1811] | in R2: >> make map! [] == make hash! [] >> m: make map! [1 2 2 3] == make hash! [1 2 2 3] >> select m 2 == 2 which is not what I woul expect |
Geomol 21-Jul-2011 [1812x3] | Seems like map! is just redirected to hash! . Can be seen with ? datatype! , and that's probably confusing, as they behave differently. |
Can also be seen with ? "map!" | |
>> source to-map to-map: func [value][to hash! :value] | |
Geomol 22-Jul-2011 [1815] | Is there an official documentation of make struct! ... ? Is there documentation of constructs like #[none] ? |
Pekr 22-Jul-2011 [1816x2] | http://www.rebol.com/docs/sdkug.html |
see "External Library Interface" | |
Geomol 22-Jul-2011 [1818] | There it was, thanks! |
older newer | first last |