Skip to content

Commit

Permalink
rename var.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfilib committed Dec 28, 2015
1 parent c3133ce commit 46e8842
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Main.hs
Expand Up @@ -62,10 +62,10 @@ analyzer env paths chan = do
-- Source: Parallel and Concurrent Programming in Haskell
-- MVar as a Building Block: Unbounded Channels, p135
writeChanAndForce :: Issue -> IO ()
writeChanAndForce result = do
let cmd = Result result
writeChan chan cmd
seq cmd (return ())
writeChanAndForce issue = do
let result = Result issue
writeChan chan result
seq result (return ())

--------------------------------------------------------------------------------

Expand Down

0 comments on commit 46e8842

Please sign in to comment.