Domain-Specific Languages of Mathematics: Presenting Mathematical Analysis Using Functional Programming

Cezar Ionescu
(Chalmers University of Technology)
Patrik Jansson
(Chalmers University of Technology)

We present the approach underlying a course on "Domain-Specific Languages of Mathematics", currently being developed at Chalmers in response to difficulties faced by third-year students in learning and applying classical mathematics (mainly real and complex analysis). The main idea is to encourage the students to approach mathematical domains from a functional programming perspective: to identify the main functions and types involved and, when necessary, to introduce new abstractions; to give calculational proofs; to pay attention to the syntax of the mathematical expressions; and, finally, to organise the resulting functions and types in domain-specific languages.

In Johan Jeuring and Jay McCarthy: Proceedings of the 4th and 5th International Workshop on Trends in Functional Programming in Education (TFPIE 2015/6), Sophia-Antipolis, France and University of Maryland College Park, USA, 2nd June 2015 and 7th June 2016, Electronic Proceedings in Theoretical Computer Science 230, pp. 1–15.
Published: 26th November 2016.

ArXived at: https://dx.doi.org/10.4204/EPTCS.230.1 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org