every-bit-counts-0.1: A functional pearl on encoding and decoding using question-and-answer strategies

STLC

Documentation

data Ty Source

Constructors

TyNat 
TyArr Ty Ty 

Instances

data Exp Source

Constructors

Var Nat 
Lam Ty Exp 
App Exp Exp 

Instances

type Env = [Ty]Source

data Pat Source

Constructors

Any 
PArr Ty Pat