Skip to content

Simple implementation of ST LC type checker in Haskell

License

Notifications You must be signed in to change notification settings

fxdpntthm/type-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Type checker in Haskell

This code tries to capture the essense of algorithm W or famously known as Hindley-Milner (HM) algorithm to infer types for a polymorphic lambda calculus. It will also use the same language to implement an algorithm M that uses an alternative way of type checking and is better than algorithm W in terms of its error message generation and performance as it detects errors "before" algorithm W

Features to be implemented

  • algorithm w
  • algorithm m
  • experiment with bi-directional type checking
  • enrich the stlc with fix point combinator
  • Add richer types such as N-rank polymorphism

About

Simple implementation of ST LC type checker in Haskell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published