more lambda-case conversion
This commit is contained in:
parent
936d50310d
commit
fc845e6530
29 changed files with 137 additions and 199 deletions
|
@ -62,9 +62,8 @@ seek (UnsetConfig name) = commandAction $ do
|
|||
unsetGlobalConfig name
|
||||
unsetConfig (ConfigKey name)
|
||||
return True
|
||||
seek (GetConfig name) = commandAction $ do
|
||||
mv <- getGlobalConfig name
|
||||
case mv of
|
||||
seek (GetConfig name) = commandAction $
|
||||
getGlobalConfig name >>= \case
|
||||
Nothing -> stop
|
||||
Just v -> do
|
||||
liftIO $ putStrLn v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue