Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
A declarative debugger of incorrect answers for constraint functional-logic programs
Caballero R.  Curry and functional logic programming (Proceedings of the 2005 ACM SIGPLAN Workshop on Curry and Functional Logic Programming, Tallinn, Estonia, Sep 29, 2005)8-13.2005.Type:Proceedings
Date Reviewed: Dec 22 2005

The idea of declarative debugging is to generate a computation tree and locate a node whose result is incorrect, but has correct results at all of its children nodes. This paper presents a (pseudo-)graphical system supporting the user in finding a buggy node.

Section 2 summarizes the constraint functional language TOY (with lazy semantics and pattern matching). In the next section, the author briefly defines the computation tree and discusses its simplification to reduce the number of questions the user must answer. The debugger is based on a transformed program that returns the computation tree in addition to the result. This transformation is described in section 4. Then, Caballero reviews a debugging session. The user can navigate through the tree, change the validity of nodes, remove valid subtrees, and so on, until the debugger is able to indicate the function definition that seems to be the cause of the error. In section 6, the author discusses some efficiency issues. Although the number of questions can be suitably reduced by the divide-and-query strategy, the memory overhead is the major drawback and restricts the application of the present system to small examples.

The paper is clearly written, and is an interesting contribution to debugging functional programs. The reader gets a good impression of the running system and its limits.

Reviewer:  H. J. Schneider Review #: CR132193 (0610-1062)
Bookmark and Share
  Featured Reviewer  
 
Multiparadigm Languages (D.3.2 ... )
 
 
Debugging Aids (D.2.5 ... )
 
 
Graphical User Interfaces (GUI) (H.5.2 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Multiparadigm Languages": Date
Learn to Tango with D
Bell K., Igesund L., Kelly S., Parker M., Apress, 2007.  208, Type: Book
Aug 20 2008
Programming Scala: scalability = functional programming + objects
Wampler D., Payne A., O’Reilly Media, Inc., Sebastopol, CA, 2009.  448, Type: Book (978-0-596155-95-7), Reviews: (1 of 2)
Jun 11 2010
Programming Scala: scalability = functional programming + objects
Wampler D., Payne A., O’Reilly Media, Inc., Sebastopol, CA, 2009.  448, Type: Book (978-0-596155-95-7), Reviews: (2 of 2)
Aug 26 2010
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy