ref: 85b45ea79140abbf66a2a3c1c7a89476697c8654
parent: 5b2e3e6495320fa7ce29823d72c27de3194befd4
author: Ori Bernstein <[email protected]>
date: Mon Aug 26 16:20:59 EDT 2013
Add missing file
--- /dev/null
+++ b/libstd/env.myr
@@ -1,0 +1,14 @@
+use "sleq.use"
+
+pkg std =
+ const getenv : (name : byte[:] -> option(byte[:]))
+;;
+
+extern var _environment : byte[:][:]
+
+const getenv = {
+ var i
+ var env
+
+ for i = 0; i < _environment.len; i++
+ if !sleq(