This commit is contained in:
Ingy döt Net 2013-04-10 21:29:02 -07:00
parent 764da6cbbb
commit db842d013d
19005 changed files with 197040 additions and 7 deletions

View file

@ -0,0 +1,4 @@
(<2 4) C. 2 3 5 7 11 13 17 19
2 3 11 7 5 13 17 19
(<0 3)&C.&.;:'Roses are red. Violets are blue.'
Violets are red. Roses are blue.

View file

@ -0,0 +1,4 @@
|.2 3
3 2
|.&.;:'one two'
two one

View file

@ -0,0 +1,6 @@
destructiveSwap=:4 :0
t=. do y
(y)=: do x
(x)=: t
i.0 0 NB. result is meaningless
)

View file

@ -0,0 +1,7 @@
V1=: 'cat'
V2=: 7
'V1' destructiveSwap 'V2'
V1
7
V2
cat