disco
Gentle Introduction to Disco
Disco Language Reference
Arithmetic
Comparison
Logical operations
Syntax
Types
Base types
Function types
Type signature
Type annotations
Polymorphism
Algebraic types
Void type
Unit type
Pair types
Sum types
Type definitions
Collections
Strings
Propositions
Subtypes
Subtyping for algebraic types
Functions
Collections
Combinatorics
Standard libraries
REPL commands
Disco language extensions
Error messages
Symbols
Quick Tutorial for experienced functional programmers
disco
Disco Language Reference
Types
Algebraic types
View page source
Algebraic types
Algebraic types
are the building blocks that let us build up more complex types.
Void type
Unit type
Pair types
n-tuples and nested pairs
Sum types