SevenThunders wrote: > > > > -- | compute cos (theta / 2) assuming the branch [-pi, pi] > halfcos :: Double -> Double > halfcos cs = sqrt $ (cs + 1)/2 > > This produces a parse error > parse error in doc string: [haddock.exe: reading EOF! > on the h of the > halfcos :: Double -> Double > line > > >
For the benefit of others who might encounter similar issues. This error was apparently generated by the existence of / in (theta / 2). The fix is to replace it with (theta \/ 2). -- View this message in context: http://www.nabble.com/Haddock-Parse-Errors-tf2396951.html#a6685168 Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
