You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make the libraray even more convenient to use, some helpers similiar to the following would be highly appreciated:
--^Retrieve with default valuegetDef::MonadErrorCPErrorm=>ConfigParser->SectionSpec->OptionSpec->a->ma
getDef cp s o d =if has_option cp s o then get cp s o elsereturn d
--^Retrieve as optionalgetOpt::MonadErrorCPErrorm=>ConfigParser->SectionSpec->OptionSpec->m (Maybea)
getOpt cp s o =if has_option cp s o then liftM Just (get cp s o) elsereturnNothing
The text was updated successfully, but these errors were encountered:
To make the libraray even more convenient to use, some helpers similiar to the following would be highly appreciated:
The text was updated successfully, but these errors were encountered: