Open online edition
Introduction to the Egison Programming Language
An open online book about the Egison programming language, covering pattern-match-oriented programming, computer algebra, tensor computation, and differential geometry.
Egison Book
About this book
Egison is a programming language designed to make pattern matching and mathematical notation first-class tools. This book introduces the language from its foundations and develops practical techniques for symbolic and tensor computation.
What you will learn
- 01
Pattern matching
Describe patterns directly, even for sets, multisets, graphs, and other non-free data types.
- 02
Computer algebra
Work with symbolic expressions, simplification rules, and extensible mathematical functions.
- 03
Tensor notation
Express tensor calculations and differential geometry with index notation.
Complete book
Contents
Front Matter
Introduction
Pattern-Match-Oriented Programming
- 2A Quick Tour of Egison
- 3Introduction to Pattern-Match-Oriented Programming
- 4The Benefits of Pattern-Match-Oriented Programming
- 5The Mechanism of Egison Pattern Matching
- 6Defining Matchers
- 7Several Features as a Functional Programming Language
- 8Sweet Egison -- A Haskell Library for Egison Pattern Matching