/algebraic-in-java

A walkthrough of algebraic data types in Java

Primary LanguageJavaMIT LicenseMIT

Algebraic data types

Duke with Green Board

Algebraic data types (ADTs) were introduced in Hope, a small functional programming language developed in the 1970s at the University of Edinburgh.

Algebraic refers to the property that an ADT is created by algebraic operations.

The algebra here, is sums, products and patterns.

Learn more about:

Project Structure

|____LICENSE
|____README.adoc          <----- This file
|____assets               <----- Images linked above
|____src
| |____none
| | |____cgutils
| | | |____algebraic
| | | | |____sum          <----- Examples of Sum types
| | | | |____product      <----- Examples of Product types
| | | | |____patterns     <----- Examples of Patterns
| | | | |____other        <----- Examples of related items