In related news, foldMap does exactly *not* what I expect or want it to do.
@jdegoes @djspiewak
foldMap=List
trait List[A] {
def foldMap[B: Monoid](f: A=>B):B
}
For foldMap to do anything else is absurd.
-
-
@dibblego@jdegoes@djspiewak foldMap is good on foldables like List, but would also make sense on trees, especially for a parallel version.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
-
@djspiewak@jdegoes Once again, you're missing the point. The name foldMap does precisely what it says. If only you knew what fold meant.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.