Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
1302:5345466fa61f | 1303:693da73c8a2f |
---|---|
2088 | 2088 |
2089 | 2089 |
2090 <h4 heading><a name="Luan.stringify" href="#Luan.stringify"><code>Luan.stringify (v [,strict])</code></a></h4> | 2090 <h4 heading><a name="Luan.stringify" href="#Luan.stringify"><code>Luan.stringify (v [,strict])</code></a></h4> |
2091 | 2091 |
2092 <p> | 2092 <p> |
2093 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>. | 2093 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>. |
2094 | 2094 |
2095 | 2095 |
2096 <h4 heading><a name="Luan.to_string" href="#Luan.to_string"><code>Luan.to_string (v)</code></a></h4> | 2096 <h4 heading><a name="Luan.to_string" href="#Luan.to_string"><code>Luan.to_string (v)</code></a></h4> |
2097 | 2097 |
2098 <p> | 2098 <p> |