capture
Stores executable LaiRu code as a value.
Target
Signature
1{ ... }Stores executable LaiRu code as a value.
capture constructs or identifies a LaiRu value type. capture affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.
Examples
Basic call
1local(c) = { #1 + 1 }2#c(2)The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.