Skip to content

🦖 Implementations of various type inference algorithms. Online interactive playground is available at https://zoo.cuichen.cc/

License

Notifications You must be signed in to change notification settings

cu1ch3n/type-inference-zoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 algoreithms, 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.

About

🦖 Implementations of various type inference algorithms. Online interactive playground is available at https://zoo.cuichen.cc/

Topics

Resources

License

Stars

Watchers

Forks