[Haskell-beginners] Strange "Not in scope" error message
Alex Hammel
ahammel87 at gmail.com
Fri Apr 24 16:51:30 UTC 2015
You forgot to capitalize the 'V' in 'isEmptyMVar' :)
On Fri, 24 Apr 2015 at 09:49 Matthew Moppett <matthewmoppett at 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 at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150424/e1d18a5f/attachment.html>
More information about the Beginners
mailing list