Skip to content

aradarbel10/NbE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Normalization by Evaluation

This repo contains my learning process of normalization by evaluation and advanced type checking techniques

Example

let zero = lam f x . x                           in
let succ = lam p f x . f (p f x)                 in
let five = succ (succ (succ (succ (succ zero)))) in
let add  = lam a b s z . a s (b s z)             in
let mul  = lam a b s z . a (b s) z               in
let ten  = add five five                         in
let hund = mul ten ten                           in
let thou = mul ten hund                          in
thou"

References

About

normalization by evaluation as a way of life

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published