Skip to content
/ SKITypes Public
forked from adampalay/SKITypes

Implementing the SKI combinator calculus in Haskell's type system

Notifications You must be signed in to change notification settings

helvm/SKITypes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

SKITypes

Implementing the SKI combinator calculus in Haskell's type system

skiType.hs is an experiment to implement a Turing-complete programming language in Haskell's type system. The idea is to create a functional dependency between two types, say x and y such that x reduces to y. If x and y are composed of the SKI combinators and the reduction rules are the rules of the SKI combinator calculus, then you should be able to "calculate" y by typechecking a function of type x -> y when applied to a value of the type x. That's essentially what skiType.hs does!

skiValue.hs is an implementation of SKI on the value level. You can compare the two reductions to see how they follow the same logic.

About

Implementing the SKI combinator calculus in Haskell's type system

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Haskell 100.0%