rexlang-util 3.9.11

Rex: A strongly-typed, pure, implicitly parallel functional programming language
Documentation
1
2
3
4
5
6
7
8
pub fn stdlib_source(library: &str) -> Option<&'static str> {
    match library {
        "std.io" => Some(include_str!("../stdlib/std.io.rex")),
        "std.process" => Some(include_str!("../stdlib/std.process.rex")),
        "std.json" => Some(include_str!("../stdlib/std.json.rex")),
        _ => None,
    }
}