[Haskell-cafe] The C Equiv of != in Haskell

Daniel McAllansmith dm.maillists at gmail.com
Mon May 28 21:33:27 EDT 2007


On Tuesday 29 May 2007 13:20, PR Stanley wrote:
> >Hi
> >
> >>What is the C equivalent of the inequality operator in Haskell?
> >
> >/=
> >
> >You can answer these sorts of questions yourself using Hoogle:
>
> And what makes you think I haven't tried Google already?
> Unlike you I only write to the list when I have a legitimate reason to do
> so.

Just in case there was some sort of miscommunication, the actual answer to 
your question is (/=) :: a -> a -> Bool, as Neil said.

The /= wasn't some sort of frowny, quit-wasting-my-time emoticon.


More information about the Haskell-Cafe mailing list