Monads and "do" notation in the Wolfram Language

05/15/2020
by   Kacper Topolnicki, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/12/2003

Cg in Two Pages

Cg is a language for programming GPUs. This paper describes Cg briefly....
research
08/10/2020

Cross-Platform Games in Kotlin

This demo paper describes a simple and practical approach to writing cro...
research
06/13/2019

A complete language for faceted dataflow programs

We present a complete categorical axiomatization of a wide class of data...
research
08/30/2023

The Janus System: Multi-paradigm Programming in Prolog and Python

Python and Prolog express different programming paradigms, with differen...
research
05/17/2019

Simple and Effective Relation-Based Approaches To XPath and XSLT Type Checking (Technical Report, Bad Honnef 2015)

XPath is a language for addressing parts of an XML document. We give an ...
research
11/14/2018

Lemma Functions for Frama-C: C Programs as Proofs

This paper describes the development of an auto-active verification tech...
research
12/03/2019

Writing Across the World's Languages: Deep Internationalization for Gboard, the Google Keyboard

This technical report describes our deep internationalization program fo...

Please sign up or login with your details

Forgot password? Click here to reset