Logic & Foundations with Haskell: Haskell 13 :: Integers from Natural Numbers

preview_player
Показать описание
We implements datatypes for integers based in the natural numbers.

00:00 Introduction
00:57 Integers as disjoint union of Nat
05:56 Integers as difference classes of Nat
12:36 Defining addition

Рекомендации по теме
Комментарии
Автор

Wouldn’t we need another (Neg Z) (Pos Z) = True in (==) of MyInt?

JoelMiller-fg