Page
Library
Module
Module type
Parameter
Class
Class type
Source
Pla
SourceMain template type
string_quoted str
makes a template from a string str
but the contents are quoted
wrap left right t
makes new template wrapped by the left
and right
templates
append t1 t2
makes a new template with the contents of t1
followed by the contents of t2
join elems
makes a new template by appending the list elems
of templates
join sep elems
makes a new template by appending the list elems
of templates separated by sep
join_sep_all sep elems
similar to join_sep sep elems
but also adds the separator after the last element
map_join f elems
makes a new template by applying the function f
to the list elems
and appending them
map_sep sep f elems
makes a new template by applying the function f
to the list elems
and appending them separated by the template sep
map_sep_all sep f elems
similar to map_sep sep f elems
but also adds the separator after the last element
print t
returns the contents template t
as a string
write file t
writes the contents of template t
to file file