view tests/getenv.ur @ 2153:39bd1d4007a9

Apply syntax sugar for 'class' attribute to <form> as well
author Adam Chlipala <adam@chlipala.net>
date Mon, 08 Jun 2015 11:11:46 -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