• Medientyp: E-Artikel
  • Titel: Call-by-need effects via coeffects
  • Beteiligte: McDermott, Dylan; Mycroft, Alan
  • Erschienen: Walter de Gruyter GmbH, 2018
  • Erschienen in: Open Computer Science, 8 (2018) 1, Seite 93-108
  • Sprache: Nicht zu entscheiden
  • DOI: 10.1515/comp-2018-0009
  • ISSN: 2299-1093
  • Schlagwörter: General Computer Science
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: Abstract Effect systems refine types with information about the behaviour of programs. They have been used for many purposes, such as optimizing programs, determining resource usage, and finding bugs. So far, however, work on effect systems has largely concentrated on call-by-value languages. We consider the problem of designing an effect system for a lazy language. This is more challenging because it depends on the ability to locate the first use of each variable. Coeffect systems, which track contextual requirements of programs, provide a method of doing this. We describe how to track variable usage in a coeffect system that can be instantiated for different reduction strategies, including call-by-need. We then add effects to the result, allowing work that has been done on effect systems for call-by-value languages to be applied to lazy languages.
  • Zugangsstatus: Freier Zugang