A Typed Monadic Embedding of Aspects - Archive ouverte HAL Access content directly
Conference Papers Year : 2013

A Typed Monadic Embedding of Aspects

Abstract

We describe a novel approach to embed pointcut/advice aspects in a typed functional programming language like Haskell. Aspects are first-class, can be deployed dynamically, and the pointcut language is extensible. Type soundness is guaranteed by exploiting the un- derlying type system, in particular phantom types and a new anti- unification type class. The use of monads brings type-based rea- soning about effects for the first time in the pointcut/advice setting, thereby practically combining Open Modules and EffectiveAdvice, and enables modular extensions of the aspect language.
Fichier principal
Vignette du fichier
main.pdf (291.33 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00763695 , version 1 (11-12-2012)

Identifiers

  • HAL Id : hal-00763695 , version 1

Cite

Nicolas Tabareau, Ismael Figueroa, Éric Tanter. A Typed Monadic Embedding of Aspects. 12th annual international conference on Aspect-Oriented Software Development (Modularity-AOSD'13), Mar 2013, Fukuoka, Japan. ⟨hal-00763695⟩
247 View
472 Download

Share

Gmail Facebook X LinkedIn More