Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:15:51+00:00 2026-06-02T18:15:51+00:00

Can someone explain in simple terms the difference between the two? I’m not fully

  • 0

Can someone explain in simple terms the difference between the two? I’m not fully understanding the part where monads are endofunctors versus being just functors.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:15:53+00:00Added an answer on June 2, 2026 at 6:15 pm

    A functor may go from one category to a different one, an endofunctor is a functor for which start and target category are the same.

    Same as with endomorphisms versus morphisms.

    Now, why must monads be endofunctors?

    There is the famous quote that “Monads are just monoids in the category of endofunctors”. Fortunately, somebody else has already explained that rather well in this answer.

    The key point why a monad has to be an endofunctor, is that join, as it is called in Haskell, or µ, as it is usually called in category theory, is part of the definition¹ of a monad. Now

    Prelude Control.Monad> :t join
    join :: Monad m => m (m a) -> m a
    

    so the result of applying the functor m to an object (in Hask, the category of Haskell types as objects and functions as morphisms, a type) must be an object that m can again be applied to. That means it must belong to the category that is the domain of the functor m.

    A functor can only be composed with itself if its domain and codomain are the same [strictly, if its codomain is a subcategory of its domain], in other words, if it is an endofunctor. Since composability with itself is part of the definition of a monad, monads are a fortiori endofunctors.

    ¹ One definition, one can alternatively define a monad using (>>=) or bind and have join as a derived property.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone explain in simple words the difference between .xib and .storyboard?
Can someone explain ProxyFactoryBean in simple terms? I see this being quoted lot of
Can someone please explain the difference between IE8 browser mode and document mode in
Can someone explain in simple terms what git's origin is and why it's called
Can someone explain in simple terms what is Key-Value-Coding and Key-Value-Observing ? Please don't
Can someone please explain in simple terms how the AND, SHL and CMP commands
Can someone explain to me with simple words what those two operators do: $
Can someone explain in simple terms the signals and slots pattern?
Can someone explain me in simple terms, why does this code throw an exception,
Can someone explain the concept of hash code and hash set in simple terms.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.