English

Monads and "do" notation in the Wolfram Language

Programming Languages 2020-05-20 v1 Logic in Computer Science

Abstract

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.

Keywords

Cite

@article{arxiv.2005.09478,
  title  = {Monads and "do" notation in the Wolfram Language},
  author = {Kacper Topolnicki},
  journal= {arXiv preprint arXiv:2005.09478},
  year   = {2020}
}
R2 v1 2026-06-23T15:39:41.965Z