Type-oriented programming

Decorative programming icon.
Decorative programming icon.
Type-oriented programming
A programming paradigm

Type-oriented programming is a paradigm spanning both object-oriented and functional approaches to writing statically typed code. Most programming languages in this category make extensive use of subtyping and parametric polymorphism.

This material introduces the basic concepts, most of them known from object-oriented and functional languages, and then goes on to explain some more involved techniques used in languages with powerful type systems.

Table of Contents

Category:Books with print version#Type-oriented%20programming
Basic concepts

Types and properties

Instance methods

Type methods

Restricted properties

Function types

Proxies

Type operators

Type arguments

‘Self’ at the type level

Type variance

Bounded type arguments

Types of higher kinds

Functors

Monads

Monad transformers

Category:Alphabetical/T Category:Book:Type-oriented programming#%20 Category:Subject:Computer programming#Type-oriented%20programming Category:Subject:Computer programming/all books Category:Subject:Computer science/all books Category:Subject:Computing/all books Category:Subject:Books by subject/all books Category:Subject:Computing/all books Category:Subject:Books by subject/all books Category:Book:Type-oriented programming#%20 Category:Book:Wikibooks Stacks/Books#Type-oriented%20programmingCategory:Shelf:Computer programming Category:Shelf:Computer programming/all books Category:Shelf:Computer science/all books#Computer%20science Category:Department:Computing/all books#Computing Category:Partly developed booksCategory:Books by completion status/all books
Category:Alphabetical/T Category:Book:Type-oriented programming Category:Book:Wikibooks Stacks/Books Category:Books by completion status/all books Category:Books with print version Category:Department:Computing/all books Category:Partly developed books Category:Shelf:Computer programming Category:Shelf:Computer programming/all books Category:Shelf:Computer science/all books Category:Subject:Books by subject/all books Category:Subject:Computer programming Category:Subject:Computer programming/all books Category:Subject:Computer science/all books Category:Subject:Computing/all books