This question shows research effort; it is useful and clear
4
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
运算符<>在以下代码中的含义/作用是什么?
class Functor f => Foldable f where
fold :: Monoid m => f m -> m
foldMap :: Monoid m => (a -> m) -> f a -> m
instance Foldable [] where
fold = foldr (<>) mempty