Peter Bex scripsit:
I did run into this incompatibility yesterday, as well. I think
the SRFI-43 definition is superior, as it allows you to cleanly indicate
copying a subsection of one vector to a subsection of another, and
it's more intuitive for people used to srfi-13's string-copy!
I was talking about the procedures that Chicken implements, like J. wrote.
I thought the term 'native' in chicken's context would refer to these
procedures.
Thanks for Help!
-Bruno
2013/3/4 Jeronimo Pellegrini j...@aleph0.info
Bruno,
If you mean native procedures in Scheme as in calling
Hi Matt,
Thanks for trying again to use Ersatz. The models argument is an alist
where the key is a symbol (the name of the variable),
and the value is of type tvalue, which is a datatype defined in
ersatz-lib.scm. So your example could work as follows:
(let* ( (source
#EOF
{% for
The code for your second use case follows below. Ersatz uses the Tset
object for destructuring statements such as for title, body in posts.
So each post would be a Tset object (which is again represented as a list):
(let* ( (source #EOF
{% for title, body in posts %}
div class=blog-post