From 95f77a7debf0b749dd71eb0fa6ac31f5edc799c5 Mon Sep 17 00:00:00 2001 From: Evgeny M Date: Sat, 1 Nov 2014 17:56:50 +0300 Subject: fix small typo in processes.xml kilo_byte() -> is kilo_byte/0 not kilo_byte/1 --- system/doc/efficiency_guide/processes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/doc/efficiency_guide/processes.xml b/system/doc/efficiency_guide/processes.xml index 6f85b029eb..86951e2dcc 100644 --- a/system/doc/efficiency_guide/processes.xml +++ b/system/doc/efficiency_guide/processes.xml @@ -186,7 +186,7 @@ kilo_byte(0, Acc) -> kilo_byte(N, Acc) -> kilo_byte(N-1, [Acc|Acc]). -

kilo_byte/1 creates a deep list. If we call +

kilo_byte/0 creates a deep list. If we call list_to_binary/1, we can convert the deep list to a binary of 1024 bytes:

-- cgit v1.2.3