view tests/getenv.ur @ 2180:5940149cd11a

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Sun, 18 Oct 2015 10:50:59 -0400
parents 94529780bbcf
children
line wrap: on
line source
task initialize = fn _ =>
  v <- getenv (blessEnvVar "USER");
  case v of
      None => debug "No USER"
    | Some u => debug u