From bcc337aa80a44cc8e5c7e499187c91f6b4cc3f04 Mon Sep 17 00:00:00 2001
From: Ben Gamari <bgamari.foss@gmail.com>
Date: Tue, 22 Oct 2013 10:45:38 -0400
Subject: [PATCH] users_guide: Document zero stack size limit

---
 docs/users_guide/runtime_control.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/users_guide/runtime_control.xml b/docs/users_guide/runtime_control.xml
index aed507b4fd6c..32edc3faecf3 100644
--- a/docs/users_guide/runtime_control.xml
+++ b/docs/users_guide/runtime_control.xml
@@ -679,7 +679,8 @@ $ ./prog -f +RTS -H32m -S -RTS -h foo bar
 	  <para>&lsqb;Default: 8M&rsqb; Set the maximum stack size for
           an individual thread to <replaceable>size</replaceable>
           bytes.  If the thread attempts to exceed this limit, it will
-            be send the <literal>StackOverflow</literal> exception.
+          be sent the <literal>StackOverflow</literal> exception. The
+          limit can be disabled entiredly by specifying a size of zero.
           </para>
           <para>
             This option is there mainly to stop the program eating up
-- 
GitLab