[Haskell-cafe] Re: A function for Maybes

2007-01-25 Thread Al Falloon
John Ky wrote: Is there a built-in function that already does this? Usually, when I have a question like this, I try Hoogle first: http://www.haskell.org/hoogle/?q=%28a+-%3E+b%29+-%3E+Maybe+a+-%3E+Maybe+b Unfortunatly, the right answer (fmap) is on the second page of results. (I am really

Re: [Haskell-cafe] Re: A function for Maybes

2007-01-25 Thread Neil Mitchell
Hi Alan, Usually, when I have a question like this, I try Hoogle first: http://www.haskell.org/hoogle/?q=%28a+-%3E+b%29+-%3E+Maybe+a+-%3E+Maybe+b Unfortunatly, the right answer (fmap) is on the second page of results. The reason for this is that Hoogle 3 doesn't understand higher-kinded type