function boot.janet on line 1481, column 1 (flatten xs) Takes a nested array (tree), and returns the depth first traversal of that array. Returns a new array.
(flatten [1 [2 3 [4]] 5]) # => @[1 2 3 4 5]