Algebraic Data Types with Haskell

preview_player
Показать описание
A look into the theory behind product and sum types, culminating in the explanation of what
algebraic data types are in Haskell and how you can define them.

Contents:
00:00:00 - Module Introduction
00:00:22 - Module Content Overview
00:00:52 - Product Types - Cartesian Product
00:01:48 - Product Types - Tuples
00:02:42 - Product Types - Tuple Limitations
00:04:03 - Type Synonyms
00:07:13 - Datatype Renamings (Newtype)
00:10:44 - Aside: Type Classes and 'deriving Show'
00:12:33 - Creating Custom Product Types
00:19:38 - Sum types - Bool
00:21:42 - Creating Custom (Sum) Types
00:23:29 - Combining sums and products
00:27:14 - Algebraic Data Types
00:28:26 - Summary

-------------------------------------------------------

Рекомендации по теме