The Artima Developer Community
Sponsored Link

Artima Developer Spotlight Forum
Much Ado About Monads

16 replies on 2 pages. Most recent reply: Mar 5, 2009 9:51 AM by James Watson

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 16 replies on 2 pages [ « | 1 2 ]
Kay Schluehr

Posts: 302
Nickname: schluehk
Registered: Jan, 2005

Re: Much Ado About Monads Posted: Mar 2, 2009 4:42 AM
Reply to this message Reply
Advertisement
> There are also simple OO (Java) solutions that do similar
> things. When people talk about Monads, they make them
> sound really special. I guess I was expecting something
> more.

IMO the article written by Dyer using C# is a pretty good introduction:

http://blogs.msdn.com/wesdyer/archive/2008/01/11/the-marvels-of-monads.aspx

It also doesn't waste much time trying to explain Haskell esoterica. My path of understanding monads followed the same way a while ago i.e. considering monads as a custom way of expressing a generalized function composition. This works well because it is a reasonable interpretation of the formal apparatus ( not just tons of divergent special cases ).

Dyers article demonstrates how the concept can be applied using LINQ syntax. This is not by chance because LINQ itself is designed to support "monadic comprehensions".

James Watson

Posts: 2024
Nickname: watson
Registered: Sep, 2005

Re: Much Ado About Monads Posted: Mar 5, 2009 9:51 AM
Reply to this message Reply
Thanks a bunch Kay. I get it now. My only critiques are that term 'amplified' is used throughout but never defined in context of the article and that it's a bit terse.

Flat View: This topic has 16 replies on 2 pages [ « | 1  2 ]
Topic: Maestro: A DSL for Actor-Based Concurrency on .NET Previous Topic   Next Topic Topic: The Adventures of a Pythonista in Schemeland: List Comprehension

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use