We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027fce0 commit 57c6cc6Copy full SHA for 57c6cc6
lib/base/Haskell/System/Environment.agda
@@ -0,0 +1,18 @@
1
+
2
+open import Haskell.Prelude
3
+open import Haskell.Control.Exception
4
5
+module Haskell.System.Environment where
6
7
+postulate
8
+ getArgs : IO (List String)
9
+ getProgName : IO String
10
+ executablePath : Maybe (IO (Maybe FilePath))
11
+ getExecutablePath : IO FilePath
12
+ getEnv : @0 {{MayThrow IOException}} → String → IO String
13
+ lookupEnv : String → IO (Maybe String)
14
+ setEnv : @0 {{MayThrow IOException}} → String → String → IO ⊤
15
+ unsetEnv : @0 {{MayThrow IOException}} → String → IO ⊤
16
+ withArgs : List String → IO a → IO a
17
+ withProgName : String → IO a → IO a
18
+ getEnvironment : IO (List (String × String))
0 commit comments