diff --git a/pages/docs/style-guide.elm b/pages/docs/style-guide.elm index 2d0e61d19..09e4283fe 100644 --- a/pages/docs/style-guide.elm +++ b/pages/docs/style-guide.elm @@ -77,7 +77,7 @@ the result will still look quite nice. ```elm homeDirectory = "/root/files" -eval boolean = case boolean of +evaluate boolean = case boolean of Literal bool -> bool Not b -> not (eval b) And b b_ -> eval b && eval b_ @@ -88,9 +88,10 @@ We saved vertical lines here, but at the cost of regularity and ease of modification. If `Literal` ever becomes longer, all arrows must move. If any branch gets too long, everything needs to come down a line anyway. -Having `case` appear *later* than the actual cases is strongly discouraged. It -should serve as a context clue that makes glancing through code easy, but when -indented in crazy ways, it becomes more difficult to glance through. +Having `case` appear further to the right than the actual cases is strongly +discouraged. It should serve as a context clue that makes glancing through code +easy, but when indented or positioned in crazy ways, it becomes more difficult +to glance through. ## Types