File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ impl Environment {
71
71
pub fn clojure_core_environment ( ) -> Rc < Environment > {
72
72
// Register our macros / functions ahead of time
73
73
let add_fn = rust_core:: AddFn { } ;
74
- let subtract_fn = rust_core:: _subtract_ :: SubtractFn { } ;
75
- let multiply_fn = rust_core:: _multiply_ :: MultiplyFn { } ;
76
- let divide_fn = rust_core:: _divide_ :: DivideFn { } ;
74
+ let subtract_fn = rust_core:: SubtractFn { } ;
75
+ let multiply_fn = rust_core:: MultiplyFn { } ;
76
+ let divide_fn = rust_core:: DivideFn { } ;
77
77
let str_fn = rust_core:: StrFn { } ;
78
78
let do_fn = rust_core:: DoFn { } ;
79
79
let nth_fn = rust_core:: NthFn { } ;
Original file line number Diff line number Diff line change @@ -20,12 +20,17 @@ use crate::error_message;
20
20
use crate :: util:: IsEven ;
21
21
22
22
pub ( crate ) mod _subtract_;
23
+ pub use self :: _subtract_:: * ;
24
+
23
25
pub ( crate ) mod _divide_;
24
- pub ( crate ) mod _multiply_ ;
26
+ pub use self :: _divide_ :: * ;
25
27
28
+ pub ( crate ) mod _multiply_;
29
+ pub use self :: _multiply_:: * ;
30
+ //
26
31
// This module will hold core function and macro primitives that aren't special cases
27
32
// (like the quote macro, or let), and can't be implemented in clojure itself
28
-
33
+ //
29
34
#[ derive( Debug , Clone ) ]
30
35
pub struct StrFn { }
31
36
impl ToValue for StrFn {
You can’t perform that action at this time.
0 commit comments