This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |