shithub: mc

ref: 6d8c2c169d24a7a4008803395ed9c3ca97960e90
dir: /libstd/env+plan9.myr/

View raw version
use sys

use "extremum.use"
use "option.use"
use "sleq.use"

pkg std =
	const getenv :	(name : byte[:] -> option(byte[:]))
	const getenvv :	(name : byte[:], default : byte[:] -> byte[:])
;;

const getenv = {name
	-> `None
}

const getenvv = {name, default
	-> default
}