pub fn stdlib(dir: &Path) -> Result<(Environment, FileSystemImporter<StdFS>)> {
    let mut stdlib_importer = stdlib_importer(dir);
    let prelude = prelude_from_importer(&mut stdlib_importer)?;
    Ok((prelude, stdlib_importer))
}
/// Stdlib returns the prelude and importer for the Flux standard library given a path to a
/// compiled directory structure.
Stdlib returns the prelude and importer for the Flux standard library given a path to a
compiled directory structure.
Stdlib returns the prelude and importer for the Flux standard library given a path to a compiled directory structure .
pub fn stdlib(dir: &Path) -> Result<(Environment, FileSystemImporter<StdFS>)> {
    let mut stdlib_importer = stdlib_importer(dir);
    let prelude = prelude_from_importer(&mut stdlib_importer)?;
    Ok((prelude, stdlib_importer))
}
pub fn stdlib ( dir : & Path ) -> Result < ( Environment , FileSystemImporter < StdFS > ) > { let mut stdlib_importer = stdlib_importer ( dir ) ; let prelude = prelude_from_importer ( & mut stdlib_importer ) ? ; Ok ( ( prelude , stdlib_importer ) ) }
Stdlib returns the prelude and importer for the Flux standard library given a path to a
compiled directory structure.
Stdlib returns the prelude and importer for the Flux standard library given a path to a compiled directory structure .
dir
&Path
dir
&Path