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