Mercurial > urweb
view tests/getenv.ur @ 1996:582ea3a4d622
Update manual inaccuracies about client-side functions
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 13 Apr 2014 21:36:44 -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