From 90c5af4778c8ed1c33991c4f28bbbe8958f1e60f Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Fri, 2 Dec 2016 18:13:03 -0500 Subject: core-spec: Fix S_MatchData Previously, it would substitute e for n without an e being around. I clarify that by naming the scrutinee e. --- docs/core-spec/OpSem.ott | 3 ++- docs/core-spec/core-spec.pdf | Bin 348408 -> 348416 bytes 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/core-spec') diff --git a/docs/core-spec/OpSem.ott b/docs/core-spec/OpSem.ott index db8ce1cf5e..b833b7487b 100644 --- a/docs/core-spec/OpSem.ott +++ b/docs/core-spec/OpSem.ott @@ -66,9 +66,10 @@ S |- e --> e' S |- case e as n return t of --> case e' as n return t of altj = K -> u +e = K u' = u[n |-> e] sbb] // bb /> ecc] // cc /> -------------------------------------------------------------- :: MatchData -S |- case K as n return t of --> u' +S |- case e as n return t of --> u' altj = lit -> u ---------------------------------------------------------------- :: MatchLit diff --git a/docs/core-spec/core-spec.pdf b/docs/core-spec/core-spec.pdf index ac548f63c1..a06ffd07df 100644 Binary files a/docs/core-spec/core-spec.pdf and b/docs/core-spec/core-spec.pdf differ -- cgit v1.2.1