Monoids in Python – PyMonad

Monoid – both a function and a data type.

Properties

  • Closure: Takes X data type as input ==> Output is also X data type.
  • Identity: Has a specific type
  • Associativity: Group as you like.

Quick Introduction(~10 Min)

Short detailed Version(~30 Min)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s