Reversing Arrays In Verse
7553 Views
-
| | | | --- | --- | | | (Input:[]t where t:type).Reverse()<computes>:[]t= | | | for (Index -> Unused : Input, Element := Input[Input.Length - Index - 1]). Element |(Input:[]t where t:type).Reverse()<computes>:[]t= for (Index -> Unused : Input, Element := Input[Input.Length - Index - 1]). Element
Copy full snippet(2 lines long)
Categories:
Purpose:
- Building Block
Recent tutorials