clojure.algo.monads - no tests for monadic laws

43 views
Skip to first unread message

Rostislav Svoboda

unread,
Mar 30, 2021, 8:56:15 PM3/30/21
to clo...@googlegroups.com
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


Leonardo Borges

unread,
Mar 30, 2021, 9:00:54 PM3/30/21
to clojure
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.


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/CAEtmmeyLhh-CaBu4npbApDpDffMzgNsEbr1j4dtF%2B5u%2BskRqHw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages