view tests/getenv.ur @ 2215:639e62ca2530

Mostly finish effectfulness analysis.
author Ziv Scully <ziv@mit.edu>
date Fri, 31 Oct 2014 09:25:03 -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