arXiv · 1705.07678
Imperative Functional Programs that Explain their Work
Abstract
Program slicing provides explanations that illustrate how program outputs were produced from inputs. We build on an approach introduced in prior work by Perera et al., where dynamic slicing was defined for pure higher-order functional programs as a Galois connection between lattices of partial inputs and partial outputs. We extend this approach to imperative functional programs that combine higher-order programming with references and exceptions. We present proofs of correctness and optimality of our approach and a proof-of-concept implementation and experimental evaluation.
Explore related subjects
Keep this discovery
Wilmer Ricciotti, Jan Stolarek, Roly Perera, James Cheney. 2017-05-22. Imperative Functional Programs that Explain their Work. https://doi.org/10.1145/3110258
Cite the original work for its findings. Save a collection to share your selection of sources.