You forgot to capitalize the 'V' in 'isEmptyMVar' :)

On Fri, 24 Apr 2015 at 09:49 Matthew Moppett <matthewmoppett@gmail.com> wrote:
I have a file with the following relevant lines:

import qualified Control.Concurrent as C

...

isCancelled = C.isEmptyMvar . stopConcurrentProcess   

Trying to compile this or run it in ghci yields a puzzling error message:

Not in scope: `C.isEmptyMvar'
    Perhaps you meant one of these:
      `C.isEmptyMVar' (imported from Control.Concurrent),
      `C.isEmptyChan' (imported from Control.Concurrent)

Any idea what could be going wrong?

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners