2024-07-30 23:25:52 +00:00
|
|
|
#define_module simple
|
2024-08-02 21:17:53 +00:00
|
|
|
#import inner::some_include::{scalar, mult_some_nums}
|
2024-07-30 23:25:52 +00:00
|
|
|
|
2024-08-04 02:24:55 +00:00
|
|
|
const simple_scalar: f32 = 50.0;
|
|
|
|
|
2024-07-29 01:47:00 +00:00
|
|
|
fn do_something_cool(in: f32) -> f32 {
|
2024-08-02 21:17:53 +00:00
|
|
|
return scalar * mult_some_nums(in, 2.0);
|
2024-07-29 01:47:00 +00:00
|
|
|
}
|