diff website/src/manual.html @ 1389:eb8b35dccd99

cleanup and stringify change
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 03 Sep 2019 22:54:31 -0600
parents f5368cd8c056
children 9dfff82dfc59
line wrap: on
line diff
--- a/website/src/manual.html	Tue Sep 03 22:12:53 2019 -0600
+++ b/website/src/manual.html	Tue Sep 03 22:54:31 2019 -0600
@@ -2068,10 +2068,10 @@
 raises an error.
 
 
-<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 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.stringify" href="#Luan.stringify"><code>Luan.stringify (v [,options])</code></a></h4>
+
+<p>
+Receives a value of any type and converts it to a string that is a Luan expression.  <code>options</code> is a table.  If <code>options.strict==true</code> then invalid types throw an error.  Otherwise invalid types are represented but the resulting expression is invalid.  If <code>options.number_types==true</code> then numbers will be wrapped in functions for their type.
 
 
 <h4 heading><a name="Luan.to_string" href="#Luan.to_string"><code>Luan.to_string (v)</code></a></h4>