use alloc::string::String;
use crate::{Flexible, FlexibleList, Generator};
pub fn s<T>(x: T) -> String
where
T: Flexible,
{
let mut g = Generator::new();
x.call(&mut g);
g.into_code()
}
pub fn comma_sep<I>(items: I) -> String
where
I: FlexibleList,
{
let mut g = Generator::new();
g.comma_sep(items);
g.into_code()
}