Add initial batch of into conversions

This commit is contained in:
JT
2021-10-11 14:56:19 +13:00
parent 89267df9eb
commit c3a032950d
13 changed files with 640 additions and 50 deletions

View File

@ -55,7 +55,7 @@ impl Command for For {
let context = context.clone();
Ok(values.map(call.head, move |x| {
values.map(call.head, move |x| {
let engine_state = context.engine_state.borrow();
let block = engine_state.get_block(block);
@ -67,7 +67,7 @@ impl Command for For {
Ok(value) => value,
Err(error) => Value::Error { error },
}
}))
})
}
fn examples(&self) -> Vec<Example> {