Rosetta Code talk:General disclaimer: Difference between revisions
Content added Content deleted
(Possible correction to "Works with APL2" example code) |
No edit summary |
||
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. |
Revision as of 03:46, 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.