Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 2433943002: Spec: Rewrite lambdas to simpler semantics instead. (Closed)

Created:
4 years, 2 months ago by Lasse Reichstein Nielsen
Modified:
4 years, 1 month ago
Reviewers:
eernst
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Spec: Rewrite lambdas to simpler semantics instead. This is instead of introducing a let-construct. R=eernst@google.com Committed: https://github.com/dart-lang/sdk/commit/f3288982debc171ce144579b216c4a95010974b7

Patch Set 1 #

Patch Set 2 : Remove \LET #

Total comments: 139

Patch Set 3 : Address comments. #

Total comments: 71

Patch Set 4 : More LMHash. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -170 lines) Patch
M docs/language/dart.sty View 1 2 3 chunks +69 lines, -91 lines 0 comments Download
M docs/language/dartLangSpec.tex View 1 2 3 20 chunks +254 lines, -79 lines 1 comment Download

Messages

Total messages: 10 (2 generated)
Lasse Reichstein Nielsen
Alternative version, without the let, just rewriting the lambdas into prose. I think I prefer ...
4 years, 2 months ago (2016-10-19 12:19:21 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/2433943002/diff/20001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2433943002/diff/20001/docs/language/dartLangSpec.tex#newcode3836 docs/language/dartLangSpec.tex:3836: Otherwise let \code{v} be a fresh variable bound to ...
4 years, 1 month ago (2016-10-31 07:39:25 UTC) #3
eernst
LGTM, with lots of little things that we might as well make consistent now that ...
4 years, 1 month ago (2016-11-03 18:07:07 UTC) #4
Lasse Reichstein Nielsen
PTAL https://codereview.chromium.org/2433943002/diff/20001/docs/language/dart.sty File docs/language/dart.sty (right): https://codereview.chromium.org/2433943002/diff/20001/docs/language/dart.sty#newcode94 docs/language/dart.sty:94: On 2016/11/03 18:07:02, eernst wrote: > As far ...
4 years, 1 month ago (2016-11-08 11:42:36 UTC) #5
eernst
LGTM, with comments on a bunch of missing `\LMHash{}` and a few typos. I just ...
4 years, 1 month ago (2016-11-09 11:35:38 UTC) #6
Lasse Reichstein Nielsen
Committed patchset #4 (id:60001) manually as f3288982debc171ce144579b216c4a95010974b7 (presubmit successful).
4 years, 1 month ago (2016-11-09 12:21:44 UTC) #8
Lasse Reichstein Nielsen
https://codereview.chromium.org/2433943002/diff/40001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2433943002/diff/40001/docs/language/dartLangSpec.tex#newcode931 docs/language/dartLangSpec.tex:931: f(x) $=$> 3; Ack, yes, that's just me not ...
4 years, 1 month ago (2016-11-09 12:31:57 UTC) #9
eernst
4 years, 1 month ago (2016-11-09 12:38:00 UTC) #10
Message was sent while issue was closed.
One post-hoc comment for the next CL: I think there's a spurious `f` in `$fi$`.

https://codereview.chromium.org/2433943002/diff/60001/docs/language/dartLangS...
File docs/language/dartLangSpec.tex (right):

https://codereview.chromium.org/2433943002/diff/60001/docs/language/dartLangS...
docs/language/dartLangSpec.tex:3926: If $T.m$ exists, it  is a static type
warning if the type $F$ of $T.m$ may not be assigned to a function type. If
$T.m$ does not exist, or if $F$ is not a function type, the static type of $fi$
is \DYNAMIC{}; otherwise the static type of $i$ is the declared return type of 
$F$.
Spurious `f` in `$fi$`?

Powered by Google App Engine
This is Rietveld 408576698