Mercurial > urweb
view tests/getenv.ur @ 2147:265c1aeed71b
Return to working version mode
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 20 May 2015 12:44:28 -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