Mercurial Hosting > luan
diff website/src/manual.html.luan @ 1303:693da73c8a2f
update documentation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 13 Jan 2019 17:38:38 -0700 |
parents | 5ba660381bd5 |
children | 11d3640e739d |
line wrap: on
line diff
--- a/website/src/manual.html.luan Sun Jan 13 17:28:57 2019 -0700 +++ b/website/src/manual.html.luan Sun Jan 13 17:38:38 2019 -0700 @@ -2090,7 +2090,7 @@ <h4 heading><a name="Luan.stringify" href="#Luan.stringify"><code>Luan.stringify (v [,strict])</code></a></h4> <p> -Receives a value of any type and converts it to a string that is a Luan expression. <code>strict</code> is a boolean. If <code>strict</code> is true then invalid types throw an error. If <code>strict</code> is false then invalid types are represented but the resulting expression is invalid. <code>strict</code> defaults to <b>true</b>. +Receives a value of any type and converts it to a string that is a Luan expression. <code>strict</code> is a string. If <code>strict</code> is 'strict' then invalid types throw an error. If <code>strict</code> is nil then invalid types are represented but the resulting expression is invalid. <code>strict</code> defaults to <b>nil</b>. <h4 heading><a name="Luan.to_string" href="#Luan.to_string"><code>Luan.to_string (v)</code></a></h4>