Improved Inference for Checking Type Annotations

dc.contributor.authorPeter.J, STUCKEYen_US
dc.contributor.authorMartin, SULZMANNen_US
dc.contributor.authorJeremy, WAZNYen_US
dc.date.accessioned2005-02-16T08:53:42Zen_US
dc.date.accessioned2017-01-23T06:59:33Z
dc.date.available2005-02-16T08:53:42Zen_US
dc.date.available2017-01-23T06:59:33Z
dc.date.issued2005-02-16T08:53:42Zen_US
dc.description.abstractWe consider type inference in the Hindley/Milner system extended with type annotations and constraints with a particular focus on Haskell-style type classes. We observe that standard inference algorithms are incomplete in the presence of nested type annotations. To improve the situation we introduce a novel inference scheme for checking type annotations. Our inference scheme is also incomplete in general but improves over existing implementations as found e.g.~in the Glasgow Haskell Compiler (GHC). For certain cases (e.g.~Haskell 98) our inference scheme is complete. Our approach has been fully implemented as part of the Chameleon system (experimental version of Haskell).en_US
dc.format.extent388013 bytesen_US
dc.format.mimetypeapplication/pdfen_US
dc.identifier.urihttps://dl.comp.nus.edu.sg/xmlui/handle/1900.100/1525en_US
dc.language.isoenen_US
dc.relation.ispartofseriesTRA2/05en_US
dc.titleImproved Inference for Checking Type Annotationsen_US
dc.typeTechnical Reporten_US
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
upload.pdf
Size:
378.92 KB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.53 KB
Format:
Plain Text
Description: