[Haskell-beginners] What's wrong with Haddock?!
sylvain at haskus.fr
Thu Oct 26 10:31:58 UTC 2017
Just remove the `^` character. `|` and `^` (attaching the comment to the
next/previous entity) can't be used everywhere.
On 26/10/2017 12:03, Baa wrote:
> I often hit such errors:
> parse error on input ‘-- ^ my doc-string is here’
> when generate Haddock documentation. This happens on line like:
> instance Something UTCTime where
> some a = blahBlah -- ^ my doc-string is here
> Sometimes such doc-strings are passing, sometimes - not. I can
> understand what is the reason. Is there some rule how to format such
> kind of doc-strings?
> Cheers, Paul
> Beginners mailing list
> Beginners at haskell.org
More information about the Beginners