This file contains hidden or 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 test where | |
data ty : Set where | |
unit : ty | |
_⇒_ : ty → ty → ty | |
data env : Set where | |
∅ : env | |
_▸_ : env → ty → env |
This file contains hidden or 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
-- Source: Conor McBride | |
-- https://personal.cis.strath.ac.uk/conor.mcbride/fooling/Jigger.agda | |
module Jigger where | |
data Nat : Set where | |
zero : Nat | |
suc : Nat -> Nat | |
_+_ : Nat -> Nat -> Nat | |
zero + n = n |
OlderNewer