starting to add lisp_to_song function
This commit is contained in:
parent
ad3642db5c
commit
cbf2a2fd96
2 changed files with 140 additions and 1 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue