Rosetta Code talk:General disclaimer: Difference between revisions
Content added Content deleted
(Possible correction to "Works with APL2" example code) |
(oops, signing) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
where {iota} is the APL iota symbol |
where {iota} is the APL iota symbol |
||
and {rho} is the APL rho symbol |
and {rho} is the APL rho symbol |
||
— (Unsigned by [[User:69.254.121.12]], 02:41, 2 February 2010) |
|||
This belongs on the talk page for [[Create a Sequence of unique elements]]. I have copied it there. —[[User:Kevin Reid|Kevin Reid]] 03:47, 2 February 2010 (UTC) |
Latest revision as of 03:47, 2 February 2010
The "Works with APL2" code looks a wee bit mucked up:
w←1 2 3 1 2 3 4 1
((⍳⍨w)=⍳⍴w)/w
1 2 3 4
I think it should be ((w {iota} w) = {iota}{rho}w)/w
where {iota} is the APL iota symbol and {rho} is the APL rho symbol
— (Unsigned by User:69.254.121.12, 02:41, 2 February 2010)
This belongs on the talk page for Create a Sequence of unique elements. I have copied it there. —Kevin Reid 03:47, 2 February 2010 (UTC)