کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
423944 685307 2006 27 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Practical Datatype Specializations with Phantom Types and Recursion Schemes
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Practical Datatype Specializations with Phantom Types and Recursion Schemes
چکیده انگلیسی

Datatype specialization is a form of subtyping that captures program invariants on data structures that are expressed using the convenient and intuitive datatype notation. Of particular interest are structural invariants such as well-formedness. We investigate the use of phantom types for describing datatype specializations. We show that it is possible to express statically-checked specializations within the type system of Standard ML. We also show that this can be done in a way that does not lose useful programming facilities such as pattern matching in case expressions.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 148, Issue 2, 24 March 2006, Pages 211-237