snaplet-environments-0.1: Provides ability to easly read configuration based on given app environment given at command line, envs are defined in app configuration file

Snap.Snaplet.Environments

Synopsis

Documentation

lookupEnvDefault :: (Configured a, Monad (m b v), MonadSnaplet m, MonadIO (m b v)) => Name -> a -> m b v aSource

This function takes current env subconfig and at its base looks up given name