very elegant extension API and parts of it used in std as POC

This commit is contained in:
2024-07-01 20:11:22 +02:00
parent 93867e40c6
commit fc8441f080
63 changed files with 2040 additions and 925 deletions

View File

@@ -1,12 +1,6 @@
pub fn add(left: usize, right: usize) -> usize { left + right }
mod std;
mod string;
#[cfg(test)]
mod tests {
use super::*;
pub use std::StdSystem;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
pub use string::str_atom::OrcString;