Hi all,
I think I've found a minor bug in clojure.algo.monads.
If you do the following:
(ns foo.bar
(:require [clojure.algo.monads :as mon]))
You cannot use mon/m-lift (and possibly others) as m-lift expands like so:
user> (macroexpand '(mon/m-lift 1 prn))
(fn* ([mv_4553] (m-bind mv_4553 (fn [x_4554] (m-result (prn x_4554))))))
Note that m-bind is not fully qualified which results in errors like this:
CompilerException java.lang.RuntimeException: Unable to resolve symbol: m-bind in this context, compiling:(/private/var/folders/6j/vpfh3hk97mq82r9nmq7d2h0h0000gn/T/form-init2703504198066353121.clj:1:1)
The github page for clojure.algo.monads does not mention how to post bug requests. I'm assuming as it's a contrib project it's done through Clojure's JIRA.