mikeizbicki / HLearn

Homomorphic machine learning
Other
1.63k stars 138 forks source link

Isn't `batch` the same as `foldMap`? #18

Closed sjoerdvisscher closed 11 years ago

sjoerdvisscher commented 11 years ago

Just curious.

mikeizbicki commented 11 years ago

Yeah it is. I've gone ahead and redefined batch to make it explicit. This removes the Functor constraint as well, making everything just a little cleaner looking. Thanks!