Hi guys! What's the most idiomatic way to write reverse function in arc that behaves correctly with both lists and strings as input (ie some kind of function that "generically" works well on every "collection" type ? For example, I want (reverse "qwert") to return "trewq" as well as (reverse (list 1 2 3)) to return (3 2 1). |