We present an approach to the generation of generic functions from user-provided specifications. The specifications consist of the type of a generic function, examples of instances that it should “match” when specialized, and properties that the generic function should satisfy. We use the type-based function generator Djinn to generate terms for specializations of the generic function types on the type indices of generic functions. Then we use QuickCheck to prune the generated terms by testing against properties, and by testing specialized candidate functions against the provided examples. Using this approach we have been able to generate generic equality, map, and zip functions, for example. Categories and Subject Descriptors D....
A generic functional program is one which is parameterised by datatype. By installing specific choic...
A generic function is defined by induction on the structure of types. The structure of a data type ...
There is a significant class of operations such as mapping that are common to all data structures. T...
Software testing is an important part of the software devel- opment process. Testing comes in many ...
Software testing is an important part of the software development process. Testing comes in many fla...
A generic function is a function that is defined on the structure of data types: with a single defin...
A generic function is a function that can be instantiated on many data types to obtain data type spe...
1 Introduction The standard library of a programming language normally defines functions like equali...
Abstract. Generic functions are defined by induction on the structural representation of types. As a...
Generic functions are defined by induction on the structural representation of types. As a consequen...
Contains fulltext : 60606.pdf (author's version ) (Open Access)Generic functions a...
This paper describes a new approach to generic functional programming, which allows us to define fun...
This thesis aims at making Datatype Generic Programming more useful in practice. We extend the fixed...
Abstract. A generic function is defined by induction on the structure of types. The structure of a d...
The Generic Haskell programming language allows functions to be defined by induction on the structur...
A generic functional program is one which is parameterised by datatype. By installing specific choic...
A generic function is defined by induction on the structure of types. The structure of a data type ...
There is a significant class of operations such as mapping that are common to all data structures. T...
Software testing is an important part of the software devel- opment process. Testing comes in many ...
Software testing is an important part of the software development process. Testing comes in many fla...
A generic function is a function that is defined on the structure of data types: with a single defin...
A generic function is a function that can be instantiated on many data types to obtain data type spe...
1 Introduction The standard library of a programming language normally defines functions like equali...
Abstract. Generic functions are defined by induction on the structural representation of types. As a...
Generic functions are defined by induction on the structural representation of types. As a consequen...
Contains fulltext : 60606.pdf (author's version ) (Open Access)Generic functions a...
This paper describes a new approach to generic functional programming, which allows us to define fun...
This thesis aims at making Datatype Generic Programming more useful in practice. We extend the fixed...
Abstract. A generic function is defined by induction on the structure of types. The structure of a d...
The Generic Haskell programming language allows functions to be defined by induction on the structur...
A generic functional program is one which is parameterised by datatype. By installing specific choic...
A generic function is defined by induction on the structure of types. The structure of a data type ...
There is a significant class of operations such as mapping that are common to all data structures. T...