Fine Control of Demand in Haskell. Harrison, W., Sheard, T., & Hook, J. In 6th International Conference on the Mathematics of Program Construction (MPC02), Dagstuhl, Germany, volume 2386, of Lecture Notes in Computer Science, pages 68–93, 2002. Springer-Verlag.
Paper
Slides abstract bibtex 1 download Functional languages have the lambda calculus at their core, but then depart from this firm foundation by including features that alter their default evaluation order. The resulting mixed evaluation—partly lazy and partly strict—complicates the formal semantics of these languages. The functional language Haskell is such a language, with features such as pattern-matching, case expressions with guards, etc., introducing a modicum of strictness into the otherwise lazy language. But just how does Haskell differ from the lazy lambda calculus? We answer this question by introducing a calculational semantics for Haskell that exposes the interaction of its strict features with its default laziness. In the semantics, features perturbing Haskell's standard lazy evaluation order are specified computationally (i.e., monadically) rather than as pure values (i.e., functions, scalars, etc.).
@InProceedings{FCDH2002,
author = "William Harrison and Timothy Sheard and James Hook",
title = "Fine Control of Demand in {Haskell}",
booktitle = "6th International Conference on the Mathematics of
Program Construction (MPC02),
Dagstuhl, Germany",
year = "2002",
publisher = "Springer-Verlag",
volume = "2386",
pages = "68--93",
series = "Lecture Notes in Computer Science",
hconf = "yes",
url_Paper = "https://harrisonwl.github.io/assets/papers/mpc02.pdf",
url_Slides = "https://harrisonwl.github.io/assets/papers/slides-mpc02.pdf",
abstract = "Functional languages have the lambda calculus at their core, but then depart from this firm foundation by including features that alter their default evaluation order. The resulting mixed evaluation---partly lazy and partly strict---complicates the formal semantics of these languages. The functional language Haskell is such a language, with features such as pattern-matching, case expressions with guards, etc., introducing a modicum of strictness into the otherwise lazy language. But just how does Haskell differ from the lazy lambda calculus? We answer this question by introducing a calculational semantics for Haskell that exposes the interaction of its strict features with its default laziness. In the semantics, features perturbing Haskell's standard lazy evaluation order are specified computationally (i.e., monadically) rather than as pure values (i.e., functions, scalars, etc.)."
}
Downloads: 1
{"_id":"LjwuwfsEvaECMaS5J","bibbaseid":"harrison-sheard-hook-finecontrolofdemandinhaskell-2002","downloads":1,"creationDate":"2016-07-28T19:31:33.213Z","title":"Fine Control of Demand in Haskell","author_short":["Harrison, W.","Sheard, T.","Hook, J."],"year":2002,"bibtype":"inproceedings","biburl":"https://harrisonwl.github.io/assets/bibliography/harrison.bib","bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["William"],"propositions":[],"lastnames":["Harrison"],"suffixes":[]},{"firstnames":["Timothy"],"propositions":[],"lastnames":["Sheard"],"suffixes":[]},{"firstnames":["James"],"propositions":[],"lastnames":["Hook"],"suffixes":[]}],"title":"Fine Control of Demand in Haskell","booktitle":"6th International Conference on the Mathematics of Program Construction (MPC02), Dagstuhl, Germany","year":"2002","publisher":"Springer-Verlag","volume":"2386","pages":"68–93","series":"Lecture Notes in Computer Science","hconf":"yes","url_paper":"https://harrisonwl.github.io/assets/papers/mpc02.pdf","url_slides":"https://harrisonwl.github.io/assets/papers/slides-mpc02.pdf","abstract":"Functional languages have the lambda calculus at their core, but then depart from this firm foundation by including features that alter their default evaluation order. The resulting mixed evaluation—partly lazy and partly strict—complicates the formal semantics of these languages. The functional language Haskell is such a language, with features such as pattern-matching, case expressions with guards, etc., introducing a modicum of strictness into the otherwise lazy language. But just how does Haskell differ from the lazy lambda calculus? We answer this question by introducing a calculational semantics for Haskell that exposes the interaction of its strict features with its default laziness. In the semantics, features perturbing Haskell's standard lazy evaluation order are specified computationally (i.e., monadically) rather than as pure values (i.e., functions, scalars, etc.).","bibtex":"@InProceedings{FCDH2002,\n author = \"William Harrison and Timothy Sheard and James Hook\",\n title = \"Fine Control of Demand in {Haskell}\",\n booktitle = \"6th International Conference on the Mathematics of\n Program Construction (MPC02),\n Dagstuhl, Germany\",\n year = \"2002\",\n publisher = \"Springer-Verlag\",\n volume = \"2386\",\n pages = \"68--93\",\n series = \"Lecture Notes in Computer Science\",\n hconf = \"yes\",\n url_Paper = \"https://harrisonwl.github.io/assets/papers/mpc02.pdf\",\n url_Slides = \"https://harrisonwl.github.io/assets/papers/slides-mpc02.pdf\",\n abstract = \"Functional languages have the lambda calculus at their core, but then depart from this firm foundation by including features that alter their default evaluation order. The resulting mixed evaluation---partly lazy and partly strict---complicates the formal semantics of these languages. The functional language Haskell is such a language, with features such as pattern-matching, case expressions with guards, etc., introducing a modicum of strictness into the otherwise lazy language. But just how does Haskell differ from the lazy lambda calculus? We answer this question by introducing a calculational semantics for Haskell that exposes the interaction of its strict features with its default laziness. In the semantics, features perturbing Haskell's standard lazy evaluation order are specified computationally (i.e., monadically) rather than as pure values (i.e., functions, scalars, etc.).\"\n}\n\n\n\n","author_short":["Harrison, W.","Sheard, T.","Hook, J."],"key":"FCDH2002","id":"FCDH2002","bibbaseid":"harrison-sheard-hook-finecontrolofdemandinhaskell-2002","role":"author","urls":{" paper":"https://harrisonwl.github.io/assets/papers/mpc02.pdf"," slides":"https://harrisonwl.github.io/assets/papers/slides-mpc02.pdf"},"metadata":{"authorlinks":{"harrison, w":"https://harrisonwl.github.io/etc/publications.html"}},"downloads":1},"search_terms":["fine","control","demand","haskell","harrison","sheard","hook"],"keywords":[],"authorIDs":["iCiuqX2A39oLpzRv9"],"dataSources":["wAeScLDKnpPTHdYwg","uCveoExKMHQNZnZCp"]}