starting to add lisp_to_song function

This commit is contained in:
Chris Cochrun 2024-11-28 06:49:20 -06:00
parent ad3642db5c
commit cbf2a2fd96
2 changed files with 140 additions and 1 deletions

View file

@ -290,7 +290,7 @@ fn lisp_to_text(lisp: &Value) -> impl Into<String> {
}
}
fn lisp_to_background(lisp: &Value) -> Background {
pub fn lisp_to_background(lisp: &Value) -> Background {
match lisp {
Value::List(list) => {
if let Some(source) = list.iter().position(|v| {