[Haskell-cafe] Haddock Parse Errors
SevenThunders
mattcbro at earthlink.net
Fri Oct 6 14:53:17 EDT 2006
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.
More information about the Haskell-Cafe
mailing list