|
|
|
|
|
by hyperpape
3816 days ago
|
|
Though the right comparison is default <T> Extension<T> contraMap(Function<T, S> f)
foldMap :: Monoid m => (a -> m) -> t a -> m
I also prefer the Haskell syntax, but it looks like more of a difference because the implementation is inline. |
|
Anyway, tastes and education play a role there, but to me the arrow notation is way easier to read, as it is what I would write on paper.