Laziness annotation on guardM
This commit is contained in:
parent
c6f102e883
commit
ea52108ff7
@ -82,7 +82,7 @@ whileM_ :: Monad m => m a -> (a -> m Bool) -> m ()
|
||||
whileM_ ~action = void . whileM action
|
||||
|
||||
guardM :: (Monad m, Alternative m) => m Bool -> m ()
|
||||
guardM f = guard =<< f
|
||||
guardM ~f = guard =<< f
|
||||
|
||||
lBS2sT :: L.ByteString -> Text
|
||||
lBS2sT = TL.toStrict . TLE.decodeUtf8
|
||||
|
Loading…
Reference in New Issue
Block a user