join
fn join(Vec<Code> xs, string sep) -> string Import
Source: use macro::{join}; compiler/src/prelude/macro.hy Join fragments with sep (the lowering of $(xs) sep *).
Parameters#
| Name | Type |
|---|---|
xs | Vec<Code> |
sep | string |
Returns#
string
See also#
lit: A string literal:lit("a\"b")splices as"a\"b".lit_int: An integer literal.raw: Raw source, spliced as is.concat: Combine several generated item lists.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.