Idris-dev/test/reg029/reg029.idr
2015-04-01 21:18:37 +02:00

12 lines
215 B
Idris

module Main
import System
-- necessary to find the getenv symbol
%dynamic "libm","msvcrt"
main : IO ()
main = do
printLn !(getEnv "IDRIS_REG029_NONEXISTENT_VAR")
printLn !(getEnv "IDRIS_REG029_EXISTENT_VAR")