When is an Abstract Data Type a Functor?. Nogueira, P. & Nilsson, H. In Proceedings of the 7th Symposium on Trends in Functional Programming (TFP'06), pages 217-231, April 19-21, 2007. Winner of Best Student Paper Award
abstract   bibtex   
A parametric algebraic data type is a functor when we can apply a function to its data components while satisfying certain equations. We investigate whether parametric abstract data types can be functors. We provide a general definition for their map operation that needs only satisfy one equation. The definability of this map depends on properties of interfaces and is a sufficient condition for functoriality. Instances of the definition for particular abstract types can then be constructed using their axiomatic semantics. The definition and the equation can be adapted to determine, necessarily and sufficiently, whether an ADT is a functor for a given implementation
@inproceedings{ pni:tfp07:adtfunctor:proceedings,
  author    = {Pablo Nogueira and Henrik Nilsson},
  title     = {When is an Abstract Data Type a Functor?}, 
  abstract   = {A parametric algebraic data type is a functor when we can apply a function to its data components while satisfying certain equations. We investigate whether parametric abstract data types can be functors. We provide a general definition for their map operation that needs only satisfy one equation. The definability of this map depends on properties of interfaces and is a sufficient condition for functoriality. Instances of the definition for particular abstract types can then be constructed using their axiomatic semantics. The definition and the equation can be adapted to determine, necessarily and sufficiently, whether an ADT is a functor for a given implementation},
  booktitle   = {Proceedings of the 7th Symposium on Trends in Functional Programming (TFP'06)},
  month   = {April 19-21},
  note   = {Winner of Best Student Paper Award},
  pages   = {217-231} ,
  year   = {2007}
}

Downloads: 0