From 0700fd8511958cb137dbe947ca0d86c0cb597821 Mon Sep 17 00:00:00 2001 From: Erik Stenman Date: Fri, 16 Jun 2017 13:23:40 +0200 Subject: [PATCH] Update beam.asciidoc Fixing issue #89 "wording". --- chapters/beam.asciidoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chapters/beam.asciidoc b/chapters/beam.asciidoc index 6ca9b72..bad3f39 100644 --- a/chapters/beam.asciidoc +++ b/chapters/beam.asciidoc @@ -604,9 +604,10 @@ mathematical term beta-reduction used in lambda calculus. The definition of a reduction in BEAM is not very specific, but we can see it as a small piece of work, which shouldn't take _too long_. -Each function call is counted as a reduction, and BEAM does a test -upon entry to each function if the process has used up all its -reductions. +Each function call is counted as a reduction. BEAM does a test +upon entry to each function to check whether the process has used up all its +reductions or not. If there are reductions left the function is executed +otherwise the process is suspended. Since there are no loops in Erlang, only tail-recursive function calls, it is very hard to write a program that does any significant