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

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.

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.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
The respondent said HHHoogle, not Google, and rightly so. Did you take a look at the given link? Here it is again http://www.haskell.org/hoogle/?q=a%20-%3E%20a%20-%3E%20Bool Hold onto that jerky knee! Tony Morris http://tmorris.net/

At 02:26 29/05/2007, you wrote:
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.
The respondent said HHHoogle, not Google, and rightly so. Did you take a look at the given link? Here it is again http://www.haskell.org/hoogle/?q=a%20-%3E%20a%20-%3E%20Bool
Hold onto that jerky knee! It's a sort of natural reaction to self-righteous jerks. Of course, a simple reply to the initial question would have been far too convenient.

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.
Apparently, unlike him, you don't read the emails. He answered your question, gave you one way of answering all such future question (note Hoogle /= Google), and finally, there are certainly other places you could look before writing to the list that would answer your question, e.g. the Report.

At 02:27 29/05/2007, you wrote:
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.
Apparently, unlike him, you don't read the emails. He answered your question, gave you one way of answering all such future question (note Hoogle /= Google), and finally, there are certainly other places you could look before writing to the list that would answer your question, e.g. the Report. and you can mind your own damn business. What is this, the Haskell Cafe Gang?

Hi
You can answer these sorts of questions yourself using Hoogle: And what makes you think I haven't tried Google already?
Hoogle, starting with 'H'. Follow the link I gave you, which is a search engine for Haskell functions, by type and name. If you search for "a -> a -> Bool" (a likely type that the != would have) then Hoogle gives you an answer.
Unlike you I only write to the list when I have a legitimate reason to do so.
I am not suggesting you have no legitimate reason, just trying to help you find the information you need quicker in future. I was in no way trying to suggest you shouldn't have posted - its a fair question given its a different choice to most other languages. Thanks Neil

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.

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. _______________________________________________ Thank you, Dan. Regards Paul

On 29/05/07, Daniel McAllansmith
Just in case there was some sort of miscommunication, the actual answer to your question is (/=) :: a -> a -> Bool, as Neil said.
Almost, (/=) :: Eq a => a -> a. (Just for completeness.) -- -David House, dmhouse@gmail.com

On Tue, May 29, 2007 at 11:20:27AM +0100, David House wrote:
Almost, (/=) :: Eq a => a -> a.
Well, not quite :) You forgot "-> Bool" at the end :)
(Just for completeness.)
Exactly :) -- Antti-Juhani Kaijanaho, Jyväskylä http://antti-juhani.kaijanaho.fi/newblog/

On Tue, May 29, 2007 at 11:20:27AM +0100, David House wrote:
On 29/05/07, Daniel McAllansmith
wrote: Just in case there was some sort of miscommunication, the actual answer to your question is (/=) :: a -> a -> Bool, as Neil said.
Almost, (/=) :: Eq a => a -> a.
Almost again! (/=) :: Eq a => a -> a -> Bool Best regards Tomek
participants (9)
-
Alfonso Acosta
-
Antti-Juhani Kaijanaho
-
Daniel McAllansmith
-
David House
-
Derek Elkins
-
Neil Mitchell
-
PR Stanley
-
Tomasz Zielonka
-
Tony Morris