Work

Aspect-oriented programming with type classes

Year: 2007
Type: conference-paper
Abstract: We study aspect-oriented programming (AOP) in the context of the strongly typed language Haskell. We show how to support AOP via a straightforward type class encoding. Our main result is that typedirected static weaving of AOP programs can be directly expressed in terms of type class resolution – the process of typing and translating type class programs. We provide two implementation schemes. One scheme is based on type classes as available in the Glasgow Haskell Compiler. The other, more expressive scheme, relies on an experimental type class system. Our results shed new light on AOP in the context of languages with rich type systems.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W2170697151
FWCI: 0.485
Cites: 37
Cited by: 10
Related to: 10