convert more stdlib functions and add rounding

converted with_base and with_math
This commit is contained in:
Mark
2024-07-03 11:59:22 +02:00
parent 50928cca1d
commit 08a82733e9
7 changed files with 404 additions and 713 deletions

View File

@@ -41,7 +41,7 @@ pub fn to_mers_func_with_in_out_types(
out_type: Type,
run: impl Fn(Data) -> Result<Data, CheckError> + Send + Sync + 'static,
) -> data::function::Function {
data::function::Function::new_static(vec![(in_type, out_type)], run)
data::function::Function::new_static(vec![(in_type, out_type)], move |a, _| run(a))
}
pub fn to_mers_func_concrete_string_to_any(