Composing contracts: An adventure in financial engineering functional pearl

Citation
Sp. Jones et al., Composing contracts: An adventure in financial engineering functional pearl, ACM SIGPL N, 35(9), 2000, pp. 280-292
Citations number
18
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
35
Issue
9
Year of publication
2000
Pages
280 - 292
Database
ISI
SICI code
1523-2867(200009)35:9<280:CCAAIF>2.0.ZU;2-J
Abstract
Financial and insurance contracts do not sound like promising territory for functional programming and formal semantics, but in fact we have discovere d that insights from programming languages bear directly on the complex sub ject of describing and valuing a large class of contracts. We introduce a combinator library that allows us to describe such contracts precisely, and a compositional denotational semantics that says what such contracts are worth. We sketch an implementation of our combinator library in Haskell. Interestingly, lazy evaluation plays a crucial role.