Mercurial > urweb
view tests/getenv.ur @ 2267:e5b7b066bf1b
Factor out SQL simplification.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Wed, 14 Oct 2015 20:40:57 -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