I just gave up and started using a #golang library that has generic FP style array processing functions. OMG, I forgot how lovely it is to use well designed higher-ordered functions.
Thinking in terms of sequences and transformations is so much nicer than the tedium of imperitive programming.
https://github.com/life4/genesis
I wish it supported the iter package though