diff website/src/manual.html.luan @ 1189:73d754b1889f

add stringify
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 23 Feb 2018 01:40:04 -0700
parents 1f9d34a6f308
children 9a57f0b16c2b
line wrap: on
line diff
--- a/website/src/manual.html.luan	Thu Feb 22 23:21:06 2018 -0700
+++ b/website/src/manual.html.luan	Fri Feb 23 01:40:04 2018 -0700
@@ -2081,6 +2081,11 @@
 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 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>.
+
 
 <h4 heading><a name="Luan.to_string" href="#Luan.to_string"><code>Luan.to_string (v)</code></a></h4>