Skip to Content
Learning Functional Programming in Go
book

Learning Functional Programming in Go

by Lex Sheehan
November 2017
Intermediate to advanced
670 pages
17h 35m
English
Packt Publishing
Content preview from Learning Functional Programming in Go

Cartesian closed category 

A cartesian closed category, where a product exists for any two elements and an exponential exists for any two elements, is a model for logic and type theory.

Though many categories have products and sums, only a few have map objects. Such categories are called cartesian closed categories.

There is a deep connection between λ-calculus, logic, and cartesian closed categories.

cartesian closed category (CCC) is an abstraction having a small vocabulary with associated laws:

The category part means we have a notion of morphisms each having a domain and codomain object. There is an identity morphism for and associative composition operator.

The cartesian part means that we have products, with projection functions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman

Publisher Resources

ISBN: 9781787281394Supplemental Content