Skip to content

Commit

Permalink
moved stdlib_minimal to separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Innokenty committed Nov 20, 2024
1 parent a1b2c0d commit ef3779d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 0 additions & 3 deletions lib/src/metta/runner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ use super::interpreter::{interpret, interpret_init, interpret_step, InterpreterS
pub mod stdlib_minimal;
use stdlib_minimal::CoreLibLoader;

#[macro_use]
pub mod stdlib_math;

mod builtin_mods;
use builtin_mods::*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#[macro_use]
pub mod stdlib_math;

use crate::*;
use crate::space::*;
use crate::metta::*;
Expand All @@ -13,7 +16,7 @@ use crate::common::multitrie::MultiTrie;
use crate::space::grounding::atom_to_trie_key;
#[cfg(feature = "pkg_mgmt")]
use crate::metta::runner::{git_catalog::ModuleGitLocation, mod_name_from_url, pkg_mgmt::UpdateMode};
use crate::metta::runner::stdlib_math;
// use crate::metta::runner::stdlib_minimal::stdlib_math;

use std::convert::TryInto;
use std::rc::Rc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::metta::*;

use std::convert::TryInto;

use super::arithmetics::*;
use crate::metta::runner::arithmetics::*;


macro_rules! grounded_op {
Expand Down
File renamed without changes.

0 comments on commit ef3779d

Please sign in to comment.