Haddock numbered list continuation

You can’t. You’re using >>>. In order to have this rendered as an example, it needs to be at the beginning of the paragraph. What’s considered a beginning of the paragraph? Anything at the start of a Haddock comment, skipping any white space preceding it. Anything following an empty line. In your scenario you have … Read more

Generating documentation for my own code with Haddock and stack

According to this ticket on the stack issue tracker, Stack can currently only build documentation for libraries, but not executables. Cabal can be configured to work with the stack databases with this command: cabal configure –package-db=clear –package-db=global –package-db=$(stack path –snapshot-pkg-db) –package-db=$(stack path –local-pkg-db) after which you can run cabal haddock –executables to generate the documentation. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)