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 8694997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:55:24+00:00 2026-06-13T00:55:24+00:00

Just reading through category theory book , and decided to apply it to haskell.

  • 0

Just reading through category theory book, and decided to apply it to haskell.

The author defines Monoid as:

Monoid is a set L equipped with a binary operation *:LxL->L and a distinguished unit element u in L such that etc…

Taking a “List” structure as a monoid, it is clear that binary operation is concat and unit is [].

But what is the set M here?
I tried L = {set of all lists} but I think that leads me into trouble with “is L in L?” question, which seems to be the same problem as sets have.

Or am I thinking of something incorrectly?

EDIT: As pointed out by @applicative, Haskell’s lists are monoids called the Free monoids!

  • 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-13T00:55:25+00:00Added an answer on June 13, 2026 at 12:55 am

    Instead of saying “List is a Monoid”, it would be more accurate to say “For all types a, the type [a] is a Monoid”. So for any particular type a, your L will be L = {set of all lists of as}. And with that definition, L can of course not contain itself.

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

Sidebar

Related Questions

I was just reading through the Nunit 2.5 docs and came across the Theory
Was just reading about different algos disassemblers use to identify binary as assembly instructions.
I'm just reading about OutputCache , and I see how you can apply VaryByParam
I was just reading through a tutorial and they mentioned that Objects in php
Just reading through the MSDN page about new .NET 4.0 feature SpinLock and can
Just reading through Akka samples, cant't understand how is self.reply defined? As far as
I'm reading through code I've just been assigned, and amid many case statements is
I am just reading through the Practical Memory Management guide. I am somewhat confused
Very basic question, but just reading through source code and trying to tell what
Possible Duplicate: !function(){ }() vs (function(){ })() So I was just reading through the

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.