• Medientyp: E-Artikel
  • Titel: Monadic state : axiomatization and type safety : axiomatization and type safety
  • Beteiligte: Launchbury, John; Sabry, Amr
  • Erschienen: Association for Computing Machinery (ACM), 1997
  • Erschienen in: ACM SIGPLAN Notices
  • Sprache: Englisch
  • DOI: 10.1145/258949.258970
  • ISSN: 0362-1340; 1558-1160
  • Schlagwörter: Computer Graphics and Computer-Aided Design ; Software
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: <jats:p> Type safety of imperative programs is an area fraught with difficulty and requiring great care. The SML solution to the problem, originally involving imperative type variables, has been recently simplified to the syntactic-value restriction. In Haskell, the problem is addressed in a rather different way using explicit monadic state. We present an operational semantics for state in Haskell and the first full proof of type safety. We demonstrate that the <jats:italic>semantic</jats:italic> notion of value provided by the explicit monadic types is able to avoid any problems with generalization. </jats:p>
  • Zugangsstatus: Freier Zugang