Global variables in Haskell
Guardat en:
| Publicat a: | Journal of Functional Programming vol. 14, no. 5 (Sep 2004), p. 489-502 |
|---|---|
| Autor principal: | |
| Publicat: |
Cambridge University Press
|
| Matèries: | |
| Accés en línia: | Citation/Abstract Full Text - PDF |
| Etiquetes: |
Sense etiquetes, Sigues el primer a etiquetar aquest registre!
|
MARC
| LEADER | 00000nab a2200000uu 4500 | ||
|---|---|---|---|
| 001 | 213500812 | ||
| 003 | UK-CbPIL | ||
| 022 | |a 0956-7968 | ||
| 022 | |a 1469-7653 | ||
| 035 | |a 213500812 | ||
| 045 | 2 | |b d20040901 |b d20040930 | |
| 084 | |a 79046 |2 nlm | ||
| 100 | 1 | |a HUGHES, JOHN | |
| 245 | 1 | |a Global variables in Haskell | |
| 260 | |b Cambridge University Press |c Sep 2004 | ||
| 513 | |a Feature | ||
| 520 | 3 | |a Haskell today provides good support not only for a functional programming style, but also for an imperative one. Elements of imperative programming are needed in applications such as web servers, or to provide efficient implementations of well-known algorithms, such as many graph algorithms. However, one element of imperative programming, the global variable, is surprisingly hard to emulate in Haskell. We discuss several existing methods, none of which is really satisfactory, and finally propose a new approach based on implicit parameters. This approach is simple, safe, and efficient, although it does reveal weaknesses in Haskell's present type system. [PUBLICATION ABSTRACT] | |
| 653 | |a Variables | ||
| 653 | |a Algorithms | ||
| 653 | |a Programming languages | ||
| 653 | |a Computer science | ||
| 653 | |a Servers (computers) | ||
| 653 | |a Imperative programming | ||
| 653 | |a Functional programming | ||
| 773 | 0 | |t Journal of Functional Programming |g vol. 14, no. 5 (Sep 2004), p. 489-502 | |
| 786 | 0 | |d ProQuest |t Advanced Technologies & Aerospace Database | |
| 856 | 4 | 1 | |3 Citation/Abstract |u https://www.proquest.com/docview/213500812/abstract/embedded/7BTGNMKEMPT1V9Z2?source=fedsrch |
| 856 | 4 | 0 | |3 Full Text - PDF |u https://www.proquest.com/docview/213500812/fulltextPDF/embedded/7BTGNMKEMPT1V9Z2?source=fedsrch |