diff --git a/chapters/beam_modules.asciidoc b/chapters/beam_modules.asciidoc index 246bdce..23342c8 100644 --- a/chapters/beam_modules.asciidoc +++ b/chapters/beam_modules.asciidoc @@ -258,7 +258,7 @@ We can parse out the code chunk by adding the following code to our program: parse_chunks([{"Code", Size, <> } | Rest], Acc) -> <> = Chunk, - %% 8 is size of CunkSize & SubSize + %% 8 is size of ChunkSize & SubSize OpcodeSize = Size - SubSize - 8, <> = Code, parse_chunks(Rest,[{code,parse_code_info(Info), OpCodes}