kirancodes.me
To Proof Maintenance & Beyond!

916 papers · page 33 of 46

The countdown problem

Graham Hutton

We systematically develop a functional program that solves the countdown problem , a numbers game in which the aim is to construct arithmetic expressions satisfying certain constraints. Starting from a formal specification of the problem, we present a simple but inefficient progr…

Maximum marking problems

Richard S. Bird

Here are two puzzles for you to solve. First, consider the binary tree in figure 1. Take a pencil (I am assuming that this is your personal copy of JFP!) and mark some of the nodes in such a way that the sum of the values of marked nodes is as large as possible. The catch is that…

Forms/3: A first-order visual language to explore the boundaries of the spreadsheet paradigm

Margaret M. Burnett, John Atwood, Rebecca Walpole Djang, James Reichwein, Herkimer J. Gottfried, Sherry Yang

Although detractors of functional programming sometimes claim that functional programming is too difficult or counter-intuitive for most programmers to understand and use, evidence to the contrary can be found by looking at the popularity of spreadsheets. The spreadsheet paradigm…