diff options
Diffstat (limited to 'src/lisp/primitives.rs')
-rw-r--r-- | src/lisp/primitives.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lisp/primitives.rs b/src/lisp/primitives.rs deleted file mode 100644 index 1c9fe8e..0000000 --- a/src/lisp/primitives.rs +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #[macro_export] | ||
2 | macro_rules! primitive { | ||
3 | ($env:expr, $arity:expr, $name:expr, $closure:expr) => { | ||
4 | let val = crate::lisp::expr::LispExpr::PrimitiveFunc(crate::lisp::expr::PrimitiveFunc { | ||
5 | arity: $arity, | ||
6 | closure: $closure, | ||
7 | }); | ||
8 | let _ = $env.insert($name.to_string(), val); | ||
9 | }; | ||
10 | } | ||