Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 2
Search results for: Haskell
2 Detecting Logical Errors in Haskell
Authors: Vanessa Vasconcelos, Mariza A. S. Bigonha
Abstract:
In order to facilitate both processes, this paper presents HaskellFL, a tool that uses fault localization techniques to locate a logical error in Haskell code. The Haskell subset used in this work is sufficiently expressive for those studying functional programming to get immediate help debugging their code and to answer questions about key concepts associated with the functional paradigm. HaskellFL was tested against functional programming assignments submitted by students enrolled at the functional programming class at the Federal University of Minas Gerais and against exercises from the Exercism Haskell track that are publicly available on GitHub. Furthermore, the EXAM score was chosen to evaluate the tool’s effectiveness, and results showed that HaskellFL reduced the effort needed to locate an error for all tested scenarios. Results also showed that the Ochiai method was more effective than Tarantula.Keywords: debug, fault localization, functional programming, Haskell
Procedia PDF Downloads 3991 Bridging Theory and Practice: Using Predicate Logic and Lambda Calculus to Fortify Computing Education for the AI Era
Authors: Mathias M. Fonkam, Carl Cortner, Narasimha R. Vajjhala
Abstract:
This paper argues for a foundational shift in computing education by placing the formal systems of Predicate Logic and Lambda Calculus at the core of the curriculum. Building on our previous research, which demonstrated that functional programming (FP) in Haskell significantly enhances mathematical reasoning and abstract thinking, this work delves into the theoretical underpinnings of that work. We posit that the pedagogical power of FP is derived directly from Lambda Calculus, which provides a rigorous model for functional abstraction and composition and allows students to reconstruct computing from first principles, while Predicate Logic offers the foundational framework for truth and correctness, enabling precise judgment of program behavior. In an era where AI code generators handle increasing amounts of syntactic implementation, the human role shifts to that of a specifier, architect, and validator. We demonstrate how explicit teaching of these foundations prepares students for this role by developing the core competencies of modeling complex problems, constructing unambiguous specifications, and validating the correctness of both human-designed and AI-generated systems—skills that are fundamental to effective human-AI collaboration. By synthesizing evidence from literature and connecting it to our prior empirical findings, we propose a unified pedagogical framework that uses Logic and Lambda Calculus as essential instruments for cultivating the abstract thinking capabilities required to navigate the growing complexity of modern software development.Keywords: abstract thinking, lambda calculus, predicate logic, computing education
Procedia PDF Downloads 73