Deriving Dependently-Typed OOP from First Principles
David Binder,
Ingo Skupin,
Tim Süberkrüb
et al.
Abstract:The
expression problem
describes how most types can easily be extended with new ways to
produce
the type or new ways to
consume
the type, but not both. When abstract syntax trees are defined as an algebraic data type, for example, they can easily be extended with new consumers, such as
print
or
eval
, but adding a new constructor requires the modification of all existing pattern matches. The … Show more
Set email alert for when this publication receives citations?
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.