دانلود مقاله ISI انگلیسی شماره 108670
ترجمه فارسی عنوان مقاله

مشاهده کلی عمومی از ساختار داده های میانبر برای اشکال زدایی برنامه های کاربردی تنبل

عنوان انگلیسی
Type generic observation of intermediate data structures for debugging lazy functional programs
کد مقاله سال انتشار تعداد صفحات مقاله انگلیسی
108670 2018 19 صفحه PDF
منبع

Publisher : Elsevier - Science Direct (الزویر - ساینس دایرکت)

Journal : Computer Languages, Systems & Structures, Volume 52, June 2018, Pages 92-110

ترجمه کلمات کلیدی
ردیابی، اشکال زدایی، ارزیابی تنبل، هاسکل،
کلمات کلیدی انگلیسی
Tracing; Debugging; Lazy evaluation; Haskell;
پیش نمایش مقاله
پیش نمایش مقاله  مشاهده کلی عمومی از ساختار داده های میانبر برای اشکال زدایی برنامه های کاربردی تنبل

چکیده انگلیسی

Observing intermediate values helps to understand what is going on when your program runs. For lazy functional languages Gill presented an observation method that preserves the program’s semantics. However, users need to define for each type how its values are observed: a laborious task and a mistake can yield misleading observations and even cause non-termination. Here we define how any value can be observed based on the structure of its type by applying generic programming. Furthermore, we present an extension to specify per observation point how much to observe of a value. We discuss how to obtain behaviour dependent on class membership with type-generic programming and with meta programming.