shithub: mc

Download patch

ref: 6d8c2c169d24a7a4008803395ed9c3ca97960e90
parent: 2ddd271457de28b6052974db29927102f90201a2
author: Ori Bernstein <[email protected]>
date: Sun Dec 28 19:03:04 EST 2014

Also env vars: env.myr gone in favor of env+plan9.myr, env+posixy.myr

--- a/libstd/env.myr
+++ /dev/null
@@ -1,18 +1,0 @@
-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
-}