Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #46213 > unrolled thread

Rosetta: Array concatenation

Started by"WJ" <w_a_x_man@yahoo.com>
First post2016-03-25 22:11 +0000
Last post2016-03-25 22:11 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.forth


Contents

  Rosetta: Array concatenation "WJ" <w_a_x_man@yahoo.com> - 2016-03-25 22:11 +0000

#46213 — Rosetta: Array concatenation

From"WJ" <w_a_x_man@yahoo.com>
Date2016-03-25 22:11 +0000
SubjectRosetta: Array concatenation
Message-ID<nd4d1o$1rg$1@dont-email.me>
Show how to concatenate two arrays in your language. If this
is as simple as array1 + array2, so be it.


OCaml:

# Array.append [|0;1;2|] [|3;4;5|];;
- : int array = [|0; 1; 2; 3; 4; 5|]
# Array.concat [[|0;1;2|]; [|3;4;5|]; [|6;7;8|]];;
- : int array = [|0; 1; 2; 3; 4; 5; 6; 7; 8|]

ANS Forth has no arrays.


-- 
Another major theme here is that whereas allegiance to ingroups indicates
psychopathology in gentiles, the epitome of psychological health for the
authors of The Authoritarian Personality is the individualist who is completely
detached from all ingroups, including his or her family.
 --- Dr. Kevin MacDonald; "The Frankfurt School of Social Research and the
Pathologization of Gentile Group Allegiances"

[toc] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web