
22 Feb
2014
22 Feb
'14
2:15 p.m.
Since all 'Foldable' functions factor through 'toList', you can't go too wrong by using '(foldableFunction . toList) myArray' wherever you would have wanted to use 'foldableFunction myArray'.
Isn't this going to be rather inefficient? Presumably the point of using an array is to avoid using lists for an application where they are not appropriate?