concat
fn concat(Vec<Code> parts) -> Code Import
Source: use macro::{concat}; compiler/src/prelude/macro.hy Combine several generated item lists.
Parameters#
| Name | Type |
|---|---|
parts | Vec<Code> |
Returns#
Code
See also#
join: Join fragments withsep(the lowering of$(xs) sep *).lit: A string literal:lit("a\"b")splices as"a\"b".lit_int: An integer literal.raw: Raw source, spliced as is.ident: A name, for splicing generated identifiers:${ident("to_" + n)}.decimal: A decimal integer the compiler wrote (-then digits, in range).attr_index: Index of the attribute calledname, or-1.attr_value:#[attr(key = "value")]from an attribute list, orfallback.