z-logo
open-access-imgOpen Access
Design patterns for functional strategic programming
Author(s) -
Ralf Lämmel,
Joost Visser
Publication year - 2002
Language(s) - English
Resource type - Conference proceedings
ISBN - 1-58113-606-4
DOI - 10.1145/570186.570187
Subject(s) - computer science , functional programming , programming language , combinatory logic , tree traversal , programming paradigm , functional design , functional reactive programming , software design pattern , reactive programming , declarative programming , software engineering , generic programming , inductive programming , class (philosophy) , artificial intelligence , software
We believe that design patterns can be an effective means of consolidating and communicating program construction expertise for functional programming, just as they have proven to be in object-oriented programming. The emergence of combinator libraries that develop a specific domain or programming idiom has intensified, rather than reduced, the need for design patterns.In previous work, we introduced the fundamentals and a supporting combinator library for functional strategic programming. This is an idiom for (general purpose) generic programming based on the notion of a functional strategy: a first-class generic function that can not only be applied to terms of any type, but which also allows generic traversal into subterms and can be customised with type-specific behaviour.This paper seeks to provide practising functional programmers with pragmatic guidance in crafting their own generic programs using functional strategies. To this end, we propose a novel description format for functional design patterns, and we initiate a catalogue of strategy design patterns. These design patterns aim at consolidating strategic programming expertise in accessible form.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom