cu1ch3n/type-inference-zoo

πŸ¦– Implementations of various type inference algorithms. The new project is now at https://github.com/cu1ch3n/type-inference-zoo-frontend.

Haskell

156

60 commits

updated Jun 22, 2025

See the code

README

Type Inference Zoo

Build Status License

Welcome to Type Inference Zoo! This project is dedicated to implementing a variety of type inference algorithms. It serves as a personal project, as I am trying to understand the type inference algorithms well by implmenting them. Considering that it might be helpful for those who are also exploring type inference algorithms, I am glad to make them avaliable online.

πŸ—ΏπŸ—ΏπŸ—Ώ There are indeed animals (implementations) in the zoo, not only references to animals.

A static online web demo is available for you to try at https://zoo.cuichen.cc/.

πŸš€ Get Started

To get started with the project, clone the repository and build the project using stack:

git clone https://github.com/cu1ch3n/type-inference-zoo.git
cd type-inference-zoo
stack build
stack exec type-inference-zoo-exe -- "let id = \x. x in (id 1, id True)" --alg W

Research Works Implemented

Contribution

Contributions are welcome! If you're interested in improving this project, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Disclaim

This project is still in its early stages, and I am not an expert in either type inference or Haskell :) Please use it at your own risk (Some of the code was assisted by GitHub Copilot or ChatGPT). If you spot any issues or have suggestions, please open an issue to help improve the project.

functional-programming
haskell
programming-languages
type-inference
zoo

Contributors

cu1ch3n

58 commits

juniorxxue

1 commits

PeyTy

1 commits

cu1ch3n/type-inference-zoo

πŸ¦– Implementations of various type inference algorithms. The new project is now at https://github.com/cu1ch3n/type-inference-zoo-frontend.

Haskell

156

60 commits

updated Jun 22, 2025

See the code

README

Type Inference Zoo

Build Status License

Welcome to Type Inference Zoo! This project is dedicated to implementing a variety of type inference algorithms. It serves as a personal project, as I am trying to understand the type inference algorithms well by implmenting them. Considering that it might be helpful for those who are also exploring type inference algorithms, I am glad to make them avaliable online.

πŸ—ΏπŸ—ΏπŸ—Ώ There are indeed animals (implementations) in the zoo, not only references to animals.

A static online web demo is available for you to try at https://zoo.cuichen.cc/.

πŸš€ Get Started

To get started with the project, clone the repository and build the project using stack:

git clone https://github.com/cu1ch3n/type-inference-zoo.git
cd type-inference-zoo
stack build
stack exec type-inference-zoo-exe -- "let id = \x. x in (id 1, id True)" --alg W

Research Works Implemented

Contribution

Contributions are welcome! If you're interested in improving this project, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Disclaim

This project is still in its early stages, and I am not an expert in either type inference or Haskell :) Please use it at your own risk (Some of the code was assisted by GitHub Copilot or ChatGPT). If you spot any issues or have suggestions, please open an issue to help improve the project.

functional-programming
haskell
programming-languages
type-inference
zoo

Contributors

cu1ch3n

58 commits

juniorxxue

1 commits

PeyTy

1 commits

Languages

Haskell

91.7%

CSS

4.9%

TypeScript

2.5%