Skip to content

Instantly share code, notes, and snippets.

View amohrland's full-sized avatar

Andrew Mohrland amohrland

  • Remote [America/Los_Angeles]
View GitHub Profile
@amohrland
amohrland / Naturals.agda
Created July 14, 2020 19:22
Naturals.agda
module plfa.part1.Naturals where
data N : Set where
zero : N
suc : N -> N
{-# BUILTIN NATURAL N #-}
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)