2015
DOI: 10.1017/s0956796815000088
|View full text |Cite
|
Sign up to set email alerts
|

A representation theorem for second-order functionals

Abstract: Representation theorems relate seemingly complex objects to concrete, more tractable ones. In this paper, we take advantage of the abstraction power of category theory and provide a datatype-generic representation theorem. More precisely, we prove a representation theorem for a wide class of second-order functionals which are polymorphic over a class of functors. Types polymorphic over a class of functors are easily representable in languages such as Haskell, but are difficult to analyse and reason about. The … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
18
0

Year Published

2015
2015
2020
2020

Publication Types

Select...
6
1

Relationship

0
7

Authors

Journals

citations
Cited by 16 publications
(20 citation statements)
references
References 21 publications
0
18
0
Order By: Relevance
“…Moreover, they only consider lenses, not prisms and other optics. Jaskelioff and O'Connor [2015] do make thorough use of the equational consequences of Yoneda for reasoning about a class of second-order functions, including some optics under the alternative van Laarhoven representation [van Laarhoven 2009], but they do not address the more convenient profunctor representation.…”
Section: Related Workmentioning
confidence: 99%
“…Moreover, they only consider lenses, not prisms and other optics. Jaskelioff and O'Connor [2015] do make thorough use of the equational consequences of Yoneda for reasoning about a class of second-order functions, including some optics under the alternative van Laarhoven representation [van Laarhoven 2009], but they do not address the more convenient profunctor representation.…”
Section: Related Workmentioning
confidence: 99%
“…We do not provide any additional justification for this representation as it has been extensively studied [Bird et al 2013;Jaskelioff and O'Connor 2015;O'Connor 2011]. In any case, the choice is not crucial to our work.…”
Section: Lenses and Traversalsmentioning
confidence: 99%
“…Indeed Jaskelioff and O'Connor [18] show that there is a oneto-one correspondence between dialogue trees in Dialogue A,B and monadic functions of type ∀M, M A → M B.…”
Section: Dialogue Treesmentioning
confidence: 99%
“…Three recent articles ( [3], [18], [10]) studied the closely related topic of pure functions on a type of streams encoded by the type N → M A, its relation to dialogue trees and its use to prove the continuity of functional programs.…”
Section: Related and Future Workmentioning
confidence: 99%
See 1 more Smart Citation