问题描述
我正在寻找monads的创意用途来学习。我已经读过某个地方,monad已经用于人工智能,但作为monad新手,我没有看到如何。
请包括一个链接到源代码和样本用法。没有 解决方案 wadler / topics / monads.htmlrel =noreferrer>关于monads的许多论文,但首先要阅读的文章很有趣,任何程序员都可以访问;它被称为。该文件包括源代码和样本用法。
我个人最喜欢的是;如果你能找到的博士论文,它有许多有趣的示例代码来自机器人。
I'm looking for creative uses of monads to learn from. I've read somewhere that monads have been used for example in AI, but being a monad newbie, I fail to see how.
Please include a link to the source code and sample usages. No standard monads please.
Phil Wadler has written many papers on monads, but the one to read first is a lot of fun and will be accessible to any programmer; it's called The essence of functional programming. The paper includes source code and sample usages.
A personal favorite of mine is the probability monad; if you can find Sungwoo Park's PhD thesis, it has a number of interesting example codes from robotics.
这篇关于monads的创意用途的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!