Skip to content

Commit

Permalink
Fix a usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
adetokunbo committed Jan 15, 2024
1 parent 93524a9 commit cc9d2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ monitorRamOf pid = do
Just bud -> do
let gap = 10 :: Int -- print every 10 sec
handleNext (Left _) = putStrLn "the process has stopped"
handleNext (Right ((mu, _), updated)) = do
handleNext (Right ((mu, _), updated)) = do
putStrLn $ show mu
go updated
go x = unfoldMemUsageAfter gap x >>= handleNext
Expand Down

0 comments on commit cc9d2b4

Please sign in to comment.