Skip to content

bugarela/GADTInference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generalized Algebraic Data Type (GADT) Inference

A different version of this approach, using lcg (least common generalization) to infer types from case expressions, and supporting type signature through reducing the extra information generated and doing exactly what OutsideIn does.

An entry has multiple data declarations followed by one expression. See examples.

Run generate "file" to get generated constraints.

Run solve "file" to get the type inferred.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published