stdlib: Use Conlang module layout
This commit is contained in:
parent
4d6b94b570
commit
a462dd2be3
@ -1,10 +1,12 @@
|
||||
//! # The Conlang Standard Library
|
||||
|
||||
pub mod preamble {
|
||||
pub use super::num::*;
|
||||
pub use super::{num::*, str::str};
|
||||
}
|
||||
|
||||
pub mod num;
|
||||
|
||||
pub mod str;
|
||||
|
||||
#[cfg("test")]
|
||||
mod test;
|
4
stdlib/std/str.cl
Normal file
4
stdlib/std/str.cl
Normal file
@ -0,0 +1,4 @@
|
||||
//! TODO: give conland a string type
|
||||
use super::num::u8;
|
||||
|
||||
type str = [u8];
|
Loading…
Reference in New Issue
Block a user