From Simple IO to Monad Transformers

Nonfiction, Science & Nature, Mathematics, Applied, Computers, Advanced Computing, Computer Science
Cover of the book From Simple IO to Monad Transformers by J Adrian Zimmer, J Adrian Zimmer
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: J Adrian Zimmer ISBN: 9780990451501
Publisher: J Adrian Zimmer Publication: May 31, 2014
Imprint: Smashwords Edition Language: English
Author: J Adrian Zimmer
ISBN: 9780990451501
Publisher: J Adrian Zimmer
Publication: May 31, 2014
Imprint: Smashwords Edition
Language: English

From Simple IO to Monad Transformers is written for you if you know some Haskell, have seen a description or example of Haskell’s monads, and are not yet comfortable with the concept. You are also expected to have enough math background
to understand that function composition makes up some kind of algebraic system.

This ebook’s objective is to help you develop an intuitive notion of monad that is accurate enough to be useful. You may have found this difficult to achieve because the concept is abstract and explanations are often aimed at the mathematically sophisticated. When they are not, they tend to be of the “See how to do this! Wasn’t that easy?” variety.

Neither approach works very well. What you need is help understanding how abstractions organize details. Contrary to popular opinion, we cannot create abstractions by ignoring details. What abstractions do is control the time and place for such thinking. Edsger Dijkstra once reacted to the top-down programming movement–which he helped start–by writing that he himself did not create programs purely from the top down. He merely organized them that way for clarity and correctness.

Here the author discusses monads by looking at them from both the outside in and the inside out. The focus is on building understanding. Functors and applicative types are omitted. Those concepts can be stepping stones on the way to understanding monads but they are unnecessary with shorter approach I have chosen to use.

In prioritizing clearer explanations over content the author has also omitted almost all of the monads included with Haskell. You will find plenty of documentation online for those. The monads the author has chosen to present will give you a mental model for making
sense of that documentation.

Most sections have one worked exercise. It is OK if you cannot work it. Just pausing to think about it will give you a better understanding than merely reading through an example would.

Version 1.2 has expanded material on the List and State monads as well as on monad transformers. A few small errors have also been corrected. See the books website at BonsaiReads.com for an errata list.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

From Simple IO to Monad Transformers is written for you if you know some Haskell, have seen a description or example of Haskell’s monads, and are not yet comfortable with the concept. You are also expected to have enough math background
to understand that function composition makes up some kind of algebraic system.

This ebook’s objective is to help you develop an intuitive notion of monad that is accurate enough to be useful. You may have found this difficult to achieve because the concept is abstract and explanations are often aimed at the mathematically sophisticated. When they are not, they tend to be of the “See how to do this! Wasn’t that easy?” variety.

Neither approach works very well. What you need is help understanding how abstractions organize details. Contrary to popular opinion, we cannot create abstractions by ignoring details. What abstractions do is control the time and place for such thinking. Edsger Dijkstra once reacted to the top-down programming movement–which he helped start–by writing that he himself did not create programs purely from the top down. He merely organized them that way for clarity and correctness.

Here the author discusses monads by looking at them from both the outside in and the inside out. The focus is on building understanding. Functors and applicative types are omitted. Those concepts can be stepping stones on the way to understanding monads but they are unnecessary with shorter approach I have chosen to use.

In prioritizing clearer explanations over content the author has also omitted almost all of the monads included with Haskell. You will find plenty of documentation online for those. The monads the author has chosen to present will give you a mental model for making
sense of that documentation.

Most sections have one worked exercise. It is OK if you cannot work it. Just pausing to think about it will give you a better understanding than merely reading through an example would.

Version 1.2 has expanded material on the List and State monads as well as on monad transformers. A few small errors have also been corrected. See the books website at BonsaiReads.com for an errata list.

More books from Computer Science

Cover of the book Explorations in Art and Technology by J Adrian Zimmer
Cover of the book Turing (A Novel about Computation) by J Adrian Zimmer
Cover of the book 11th International Conference on Practical Applications of Computational Biology & Bioinformatics by J Adrian Zimmer
Cover of the book The GENI Book by J Adrian Zimmer
Cover of the book PRIMA Image Racer by J Adrian Zimmer
Cover of the book The Repercussions of Software Piracy: Damages, Approaches of Control, and Benefits from Reducing Piracy Rates by J Adrian Zimmer
Cover of the book Quantum Computational Number Theory by J Adrian Zimmer
Cover of the book Blind Source Separation by J Adrian Zimmer
Cover of the book Parallel Processing and Applied Mathematics by J Adrian Zimmer
Cover of the book Growth Hacker Marketing. El futuro del Social Media y la Publicidad by J Adrian Zimmer
Cover of the book Ontologies by J Adrian Zimmer
Cover of the book Conceptive C by J Adrian Zimmer
Cover of the book Vision-based Pedestrian Protection Systems for Intelligent Vehicles by J Adrian Zimmer
Cover of the book Numerical Methods for Stochastic Computations by J Adrian Zimmer
Cover of the book Rediscovering the World by J Adrian Zimmer
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy