[][src]Macro templar::templar_function

macro_rules! templar_function {
    ( $( fn $name:ident ( $left:ident : $left_ty:ty | $left_var:ident) -> $out:ty { $( $tail:tt )* } )* ) => { ... };
}

Easily define simple funtions that expect certain types

fn hello_world(args: i64 | I64) -> i64 {
    args + 5
}