A common attraction to functional programming is the ease with which proofs can be given of program properties. A common disappointment with functional programming is the difficulty of expressing input/output (I/O), while at the same time being able to verify programs. Here, the author shows how a theory of functional programming can be smoothly extended to admit both an operational semantics for functional I/O and verification of programs engaged in I/O. He obtains operational semantics for the three most widely implemented I/O mechanisms for lazy languages, and proves that the three are equivalent in expressive power. He develops semantics for a form of monadic I/O and verifies a simple programming example. These theories of functional I/O are based on an entirely operational theory of functional programming, developed using Abramsky's 'applicative bisimulation'.
Produkteigenschaften
- Artikelnummer: 9780521471039
- Medium: Buch
- ISBN: 978-0-521-47103-9
- Verlag: Cambridge University Press
- Erscheinungstermin: 13.10.1994
- Sprache(n): Englisch
- Auflage: Erscheinungsjahr 1994
- Serie: Distinguished Dissertations in Computer Science
- Produktform: Gebunden
- Gewicht: 499 g
- Seiten: 171
- Format (B x H x T): 179 x 254 x 15 mm
- Ausgabetyp: Kein, Unbekannt
- Nachauflage: 978-0-521-07007-2
