Re: [Haskell-cafe] Haddock chokes on function arguments

2011-08-25 Thread Arnaud Bailly
OK. Time to go to bed... Apologies for the noise. Arnaud On Thu, Aug 25, 2011 at 4:50 PM, Ozgur Akgun wrote: > Hi Arnaud, > > > On 25 August 2011 15:44, Arnaud Bailly wrote: > >> But then, why is it documented the other way ? > > > It isn't, as far as I can see. Are we both looking at the sam

Re: [Haskell-cafe] Haddock chokes on function arguments

2011-08-25 Thread Ozgur Akgun
Hi Arnaud, On 25 August 2011 15:44, Arnaud Bailly wrote: > But then, why is it documented the other way ? It isn't, as far as I can see. Are we both looking at the same place, namely section 3.2.3? -- Ozgur Akgun ___ Haskell-Cafe mailing list Haske

Re: [Haskell-cafe] Haddock chokes on function arguments

2011-08-25 Thread Arnaud Bailly
Yes, it works better. Thanks for fixing my dumbness. But then, why is it documented the other way ? Regards, Arnaud On Thu, Aug 25, 2011 at 4:30 PM, Roel van Dijk wrote: > Does it help if you format it like this: > > -- |Apply a given function over all elements of a list and select one of > the

Re: [Haskell-cafe] Haddock chokes on function arguments

2011-08-25 Thread Roel van Dijk
Does it help if you format it like this: -- |Apply a given function over all elements of a list and select one of the -- results. selector :: (Arbitrary b) => [a] -- ^ Elements to select from -> (a -> b) -- ^ Constructor to apply to selected element -> Gen b selec

[Haskell-cafe] Haddock chokes on function arguments

2011-08-25 Thread Arnaud Bailly
Hello, while trying to generate Haddock documentation (Haddock version 2.9.2, (c) Simon Marlow 2006), it chokes on the following fragment -- |Apply a given function over all elements of a list and select one of the -- results. selector :: (Arbitrary b) => [a] -> -- ^ Elements to s