Mercurial > urweb
view tests/getenv.ur @ 2058:235b33d62275
A new test for <button>
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 17 Aug 2014 15:56:43 -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