Re: clojure.algo.monads - no tests for monadic laws

2021-03-30 Thread Leonardo Borges
No real reason - probably lack of time. For what it's worth, I've written such tests for my imminent library here: https://github.com/theleoborges/imminent/blob/master/test/imminent/laws_test.clj - could be useful. Leonardo Borges @theleoborges

clojure.algo.monads - no tests for monadic laws

2021-03-30 Thread Rostislav Svoboda
Hi, the test_monads.clj contains test cases for some arbitrary values but no test cases against monadic laws. I wonder why is it so? It's not really necessary to have them (everything works), but it won't hurt to have them around, I'd say. At least for learning purposes. What do you think? Thanks