论文标题

monads和wolfram语言中的“做”符号

Monads and "do" notation in the Wolfram Language

论文作者

Topolnicki, Kacper

论文摘要

本文介绍了对Wolfram语言的分类解释,并引入了Monadic类型和“ DO”符号的简单实现。编程的单调风格与Wolfram语言的许多内置功能相结合,有可能成为编写Wolfram语言代码的强大工具。此外,使用纯函数和“ DO”符号可能会导致程序非常可预测且易于并行化。

This paper describes a categorical interpretation of the Wolfram Language and introduces a simple implementation of monadic types and the "do" notation. The monadic style of programming combined with the many built in functions of the Wolfram Language has potential to be a powerful tool in writing Wolfram Language code. Additionally, using pure functions and the "do" notation can result in programs that are very predictable and easy to parallelize.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源