chrismwendt / combinator-calculus

SK combinatory logic interpreter written in Haskell
1 stars 0 forks source link

Optimize evaluation by explicitly representing known constructs #5

Closed chrismwendt closed 9 years ago

chrismwendt commented 10 years ago

For example, if Church numerals and functions for add and multiply are found, represent them as Integers and perform arithmetic on them instead of blindly applying reductions.