haskellfoundation / haskellfoundation/hs-opt-handbook.github.io

Better citations for closures and sharing.

Open
#74 0 comments 0 reactions 1 assignee Claimed by @doyougnu View on GitHub
glossary
Dominant language
HTML
Stars
190
Forks
11
PR merge metrics
No merged PRs in 30d

Description

In the glossary I link to the wikipedia entry for closures. This is lazy, cite the lambda papers!

similarly in the sharing item I don't cite anything. This is also lazy! I should cite at least:
- liskov and CLU and call-by-sharing.
- hash consing
- _observable sharing_ in haskell (here is the paper that coined the term: https://www.cse.chalmers.se/~dave/papers/observable-sharing.pdf), Gills 09 paper and data-reify.

Then there should be a discussion on why Haskell, in general, does not have observable sharing. Answer, because that breaks referential transparency. That is, if you can tell if two pointers are equal then a function can produce different outputs from the same inputs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.