Computer Science – Programming Languages
Scientific paper
2011-09-05
EPTCS 66, 2011, pp. 1-23
Computer Science
Programming Languages
In Proceedings DSL 2011, arXiv:1109.0323
Scientific paper
10.4204/EPTCS.66.1
We present an embedded DSL to support adaptation-based programming (ABP) in Haskell. ABP is an abstract model for defining adaptive values, called adaptives, which adapt in response to some associated feedback. We show how our design choices in Haskell motivate higher-level combinators and constructs and help us derive more complicated compositional adaptives. We also show an important specialization of ABP is in support of reinforcement learning constructs, which optimize adaptive values based on a programmer-specified objective function. This permits ABP users to easily define adaptive values that express uncertainty anywhere in their programs. Over repeated executions, these adaptive values adjust to more efficient ones and enable the user's programs to self optimize. The design of our DSL depends significantly on the use of type classes. We will illustrate, along with presenting our DSL, how the use of type classes can support the gradual evolution of DSLs.
Bauer Tim
Erwig Martin
Fern Alan
Pinto Jervis
No associations
LandOfFree
Adaptation-Based Programming in Haskell does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Adaptation-Based Programming in Haskell, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Adaptation-Based Programming in Haskell will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-449084