ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/docs
Yuya Nishihara 3124444d24 templater: add list.map(|x| ...) operation
This involves a little hack to insert a lambda parameter 'x' to be used at
keyword position. If the template language were dynamically typed (and were
interpreted), .map() implementation would be simpler. I considered that, but
interpreter version has its own warts (late error reporting, uneasy to cache
static object, etc.), and I don't think the current template engine is
complex enough to rewrite from scratch.

.map() returns template, which can't be join()-ed. This will be fixed later.
2023-03-18 12:04:00 +09:00
..
technical
branches.md
code-of-conduct.md
config.md cli: add ui.log-word-wrap option 2023-03-11 12:01:17 +09:00
config.toml Update docs/config.toml with new way to show relative timestamps 2023-02-15 21:26:14 -08:00
conflicts.md
contributing.md
git-comparison.md
git-compatibility.md docs: Update section about support for .gitignores 2023-03-01 18:03:31 -08:00
github.md
operation-log.md operation-log.md: Give a brief description of @, +, - 2023-02-18 22:42:51 -08:00
related-work.md
revsets.md Clarify that files() is relative 2023-03-06 13:54:38 +09:00
templates.md templater: add list.map(|x| ...) operation 2023-03-18 12:04:00 +09:00
tutorial.md tutorial: clarify that files need to be saved before closing editors 2023-03-17 06:50:33 -07:00
working-copy.md