mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-28 17:16:31 +01:00
convert more stdlib functions and add rounding
converted with_base and with_math
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user