From ae08078cabd7cb67c95cd6d0b8437a14125a897e Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Tue, 5 Jun 2018 23:03:20 -0600 Subject: docs: fix typos --- libjulia/optimiser/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libjulia/optimiser/README.md b/libjulia/optimiser/README.md index e8aa777a..1b000294 100644 --- a/libjulia/optimiser/README.md +++ b/libjulia/optimiser/README.md @@ -25,13 +25,13 @@ a semantically equivalent transformation as long as it is performed after the disambiguation stage. The reason is that moving a definition upwards cannot decrease its visibility and it is impossible to reference variables defined in a different function. -The benefit of this stage is that function definitions can be lookup up more easily. +The benefit of this stage is that function definitions can be looked up more easily. ## Function Grouper The function grouper has to be applied after the disambiguator and the function hoister. Its effect is that all topmost elements that are not function definitions are moved -into a single block which is the first satement of the root block. +into a single block which is the first statement of the root block. After this step, a program has the following normal form: -- cgit v1.2.3