Title
On the relation of aspects and monads
Abstract
The relation between aspects and monads is a recurring topic in discussions in the programming language community, although it has never been elaborated whether their resemblences are only superficial, and if not, where they are rooted. The aim of this paper is to contrast both mechanisms w.r.t. their capabilities and their effects on modularity, first by looking at monads as a way to express tangling concerns in functional programming and by discussing whether they can be regarded as a form of AOP, then by taking the view that monads express concerns of computations and by analyzing the extent to which aspects are able to handle those concerns. Our results are mostly negative: monads are not capable of quantifying over points in the program execution in a declarative way, whereas aspects are not very useful in abstracting over computational capabilities.
Year
DOI
Venue
2007
10.1145/1233833.1233838
FOAL
Keywords
Field
DocType
programming language community,functional programming,tangling concern,computational capability,program execution,mechanisms w,monads,aspect oriented programming,programming language
Programming language,Functional programming,Aspect-oriented programming,Computer science,Theoretical computer science,Monad (functional programming),Modularity,Computation
Conference
Citations 
PageRank 
References 
9
0.59
10
Authors
2
Name
Order
Citations
PageRank
Christian Hofer190.59
Klaus Ostermann282443.10