An Affine Type System with Hindley-Milner Style Type Inference

03/31/2022
by   Gonglin Li, et al.
0

This article first provides an algorithm W based type inference algorithm for an affine type system. Then the article further assumes the language equipped with the above type system uses lazy evaluation, and explores the possibility of representing the !-modality as a user-defined type synonym with the power of the newly gained polymorphism.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset