The Logic of Demand in Haskell. Harrison, W. L. & Kieburtz, R. B. Journal of Functional Programming, 15(6):837-891, 2005.
Paper abstract bibtex 1 download Haskell is a functional programming language whose evaluation is lazy by default. However, Haskell also provides pattern matching facilities which add a modicum of eagerness to its otherwise lazy default evaluation. This mixed or \emphnon-strict semantics can be quite difficult to reason with. This paper introduces a programming logic, P-Logic, which neatly formalizes the mixed evaluation in Haskell pattern-matching as a logic, thereby simplifying the task of specifying and verifying Haskell programs. In P-Logic, aspects of demand are reflected or represented within both the predicate language and its model theory, allowing for expressive and comprehensible program verification.
@article{HK05,
author = "William L. Harrison and Richard B. Kieburtz",
title = "The Logic of Demand in {H}askell",
journal = "Journal of Functional Programming",
volume = 15,
number = 6,
year = 2005,
pages = {837-891},
hjournal = "yes",
url_Paper = "https://harrisonwl.github.io/assets/papers/jfp05.pdf",
abstract = "Haskell is a functional programming language whose
evaluation is lazy by default. However, Haskell also
provides pattern matching facilities which add a
modicum of eagerness to its otherwise lazy default
evaluation. This mixed or \emph{non-strict}
semantics can be quite difficult to reason
with. This paper introduces a programming logic,
P-Logic, which neatly formalizes the mixed
evaluation in Haskell pattern-matching as a logic,
thereby simplifying the task of specifying and
verifying Haskell programs. In P-Logic, aspects of
demand are reflected or represented within both the
predicate language and its model theory, allowing
for expressive and comprehensible program
verification.",
}
Downloads: 1
{"_id":"ruD5k4YMzRHo4tt5P","bibbaseid":"harrison-kieburtz-thelogicofdemandinhaskell-2005","downloads":1,"creationDate":"2016-07-28T19:31:33.200Z","title":"The Logic of Demand in Haskell","author_short":["Harrison, W. L.","Kieburtz, R. B."],"year":2005,"bibtype":"article","biburl":"https://harrisonwl.github.io/assets/bibliography/harrison.bib","bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["William","L."],"propositions":[],"lastnames":["Harrison"],"suffixes":[]},{"firstnames":["Richard","B."],"propositions":[],"lastnames":["Kieburtz"],"suffixes":[]}],"title":"The Logic of Demand in Haskell","journal":"Journal of Functional Programming","volume":"15","number":"6","year":"2005","pages":"837-891","hjournal":"yes","url_paper":"https://harrisonwl.github.io/assets/papers/jfp05.pdf","abstract":"Haskell is a functional programming language whose evaluation is lazy by default. However, Haskell also provides pattern matching facilities which add a modicum of eagerness to its otherwise lazy default evaluation. This mixed or \\emphnon-strict semantics can be quite difficult to reason with. This paper introduces a programming logic, P-Logic, which neatly formalizes the mixed evaluation in Haskell pattern-matching as a logic, thereby simplifying the task of specifying and verifying Haskell programs. In P-Logic, aspects of demand are reflected or represented within both the predicate language and its model theory, allowing for expressive and comprehensible program verification.","bibtex":"@article{HK05,\n author = \"William L. Harrison and Richard B. Kieburtz\",\n title = \"The Logic of Demand in {H}askell\",\n journal = \"Journal of Functional Programming\",\n volume = 15,\n number = 6,\n year = 2005,\n pages = {837-891},\n hjournal = \"yes\",\n url_Paper = \"https://harrisonwl.github.io/assets/papers/jfp05.pdf\",\n abstract = \"Haskell is a functional programming language whose\n evaluation is lazy by default. However, Haskell also\n provides pattern matching facilities which add a\n modicum of eagerness to its otherwise lazy default\n evaluation. This mixed or \\emph{non-strict}\n semantics can be quite difficult to reason\n with. This paper introduces a programming logic,\n P-Logic, which neatly formalizes the mixed\n evaluation in Haskell pattern-matching as a logic,\n thereby simplifying the task of specifying and\n verifying Haskell programs. In P-Logic, aspects of\n demand are reflected or represented within both the\n predicate language and its model theory, allowing\n for expressive and comprehensible program\n verification.\", \n}\n\n","author_short":["Harrison, W. L.","Kieburtz, R. B."],"key":"HK05","id":"HK05","bibbaseid":"harrison-kieburtz-thelogicofdemandinhaskell-2005","role":"author","urls":{" paper":"https://harrisonwl.github.io/assets/papers/jfp05.pdf"},"metadata":{"authorlinks":{"harrison, w":"https://harrisonwl.github.io/etc/publications.html"}},"downloads":1},"search_terms":["logic","demand","haskell","harrison","kieburtz"],"keywords":[],"authorIDs":["5dc475579b60c2df010000fb","5dee581feaaee4df01000254","5df9dbe338a7afde010000b8","5e03c9676d2066de01000013","5e2b8df4f92538df01000009","5e55f36cc2c8a2df010000f1","5e64fd0d5fc0b7de010000d4","BPp6pLGb3wvE8tPNi","GrcodozaBpTrw2nXH","NmXf49aeDyLF3AL8F","a66s2jJ42S97qQxnX","iCiuqX2A39oLpzRv9","njB2ZmsnMejPsL7oC","uBWQddfiBuSzTqKrJ","xkL56M792TvXx8Hef"],"dataSources":["wAeScLDKnpPTHdYwg","uCveoExKMHQNZnZCp"]}