mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-28 15:34:22 +00:00
026a72dfe7
I'll probably add infix logical operators later, but the surround() function is still useful because we don't have to repeat the condition: if(x || y, "<" ++ separate(" ", x, y) ++ ">") surround("<", ">", separate(" ", x, y)) It can't be used if we want to add placeholder text, though: if(x || y, "<" ++ separate(" ", x, y) ++ ">", "(none)") Closes #2924 |
||
---|---|---|
.. | ||
examples | ||
src | ||
testing | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE |