<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions in algo.monads</title>
<link>https://ask.clojure.org/index.php/questions/contrib-libs/algo-monads</link>
<description></description>
<item>
<title>Add monadic implementations of walk, prewalk, and postwalk</title>
<link>https://ask.clojure.org/index.php/284/add-monadic-implementations-of-walk-prewalk-and-postwalk</link>
<description></description>
<category>algo.monads</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/284/add-monadic-implementations-of-walk-prewalk-and-postwalk</guid>
<pubDate>Wed, 02 Jan 2019 00:36:58 +0000</pubDate>
</item>
<item>
<title>Make m-map take mulitple colls. like core/map</title>
<link>https://ask.clojure.org/index.php/285/make-m-map-take-mulitple-colls-like-core-map</link>
<description></description>
<category>algo.monads</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/285/make-m-map-take-mulitple-colls-like-core-map</guid>
<pubDate>Wed, 02 Jan 2019 00:31:41 +0000</pubDate>
</item>
<item>
<title>domonad state-m when :cond missing clause throw null pointer exception</title>
<link>https://ask.clojure.org/index.php/282/domonad-state-when-missing-clause-throw-pointer-exception</link>
<description>Following snipped will throw a null pointer, the rest of the monads just return &amp;quot;monad fail&amp;quot;-ish.&lt;br /&gt;
&lt;br /&gt;
[org.clojure/algo.monads &amp;quot;0.1.5&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
(use 'clojure.algo.monads)&lt;br /&gt;
&lt;br /&gt;
((domonad state-m [x (m-result 1) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:cond [(= x 2) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[x (m-result 2)]]] &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;x) {})&lt;br /&gt;
&lt;br /&gt;
It should fail because no matching clause is specified &lt;br /&gt;
but a null pointer gives no clue that cond is missing a clause.</description>
<category>algo.monads</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/282/domonad-state-when-missing-clause-throw-pointer-exception</guid>
<pubDate>Thu, 18 Feb 2016 02:20:31 +0000</pubDate>
</item>
<item>
<title>either monad</title>
<link>https://ask.clojure.org/index.php/283/either-monad</link>
<description>&lt;p&gt;implementation of either monad (useful when maybe's not enough, because one needs to carry something around)&lt;/p&gt;
</description>
<category>algo.monads</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/283/either-monad</guid>
<pubDate>Fri, 15 Jan 2016 11:58:51 +0000</pubDate>
</item>
</channel>
</rss>