Mercurial Hosting > luan
changeset 1303:693da73c8a2f
update documentation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 13 Jan 2019 17:38:38 -0700 |
parents | 5345466fa61f |
children | 5b947f29ea87 |
files | website/src/manual.html.luan |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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>