کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
6870945 1440108 2018 19 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Type generic observation of intermediate data structures for debugging lazy functional programs
ترجمه فارسی عنوان
مشاهده کلی عمومی از ساختار داده های میانبر برای اشکال زدایی برنامه های کاربردی تنبل
کلمات کلیدی
ردیابی، اشکال زدایی، ارزیابی تنبل، هاسکل،
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
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.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computer Languages, Systems & Structures - Volume 52, June 2018, Pages 92-110
نویسندگان
, ,