Dear list,

in the literature, the code and the comments, I often find these
notions:
 * updatable
 * single-entry
 * one-shot
applied to thunks, functions, closures and lambda expressions on
various levels

I have the impression that these are indeed plain synonyms (resp.
antinyms) when it comes to thunks and other closures, and indicate
whether a dynamic instance of this closure is going to be entered once
or more than once, while "one-shot", when applied to a lambda
expression (or, by extension function argument), indicates that this
lambda expression is _called_ at most once for every _evaluation_ of
it.

Is that about right, or are there more pitfalls around?

Greetings,
Joachim


-- 
Joachim “nomeata” Breitner
  [email protected]https://www.joachim-breitner.de/
  XMPP: [email protected] • OpenPGP-Key: 0xF0FBF51F
  Debian Developer: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to