4 ms·
This is true. In the spirit of the project it might be good to add a predefined map function. `(map li (eval "cat file"))` Where `file` is newline separated t
by 0x3444ac53 3y ago
This is true. In the spirit of the project it might be good to add a predefined map function.
`(map li (eval "cat file"))`
Where `file` is newline separated text, and li is applied to each line, and the full string is returned.
For this example
```
(func ul "<ul>{0}< /ul>")
(func li "<li>{0}< /li>")
(ul (map li (eval "cat file")))
```
Would return each line of the file nested in a `li` tag nested in a `ul`