Mercurial > urweb
view tests/getenv.ur @ 2178:c76a9712334c
Database-server reconnection for MySQL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 17 Oct 2015 11:31:22 -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