dtas-tl: simplify existing addtail/addhead while we're at it
commit0dde5917fb5135ee3601383c29ffc0490071ea9d
authorEric Wong <e@80x24.org>
Mon, 14 Dec 2015 04:48:01 +0000 (14 04:48 +0000)
committerEric Wong <e@80x24.org>
Mon, 14 Dec 2015 04:48:01 +0000 (14 04:48 +0000)
tree4e2b4f2cb9e42ffbbda3f0b6c0f6d0c96c3cafb6
parent459519080c929211f5cf2997c22d1155c7fd1383
dtas-tl: simplify existing addtail/addhead while we're at it

No need to keep track of added track IDs when we can walk the
array backwards to insert in the correct order.  Also,
fix a stupid (probably?) typo in the "addhead" implementation,
too.  I've known about Array#reverse_each for a while...
bin/dtas-tl