Closed ulysses4ever closed 2 years ago
Good idea! Could you PR?
Okay, this seems to be a known (mis)feature of Haddock: https://github.com/haskell/haddock/issues/1254 which may or may not be fixed in the future. The workaround is to use single-line comments. Submitted #31 with the workaround, but I will understand if you won't be willing to accept it.
Example reads:
Given that imports are there I expect it to be a standalone example that is runnable. But that's not true: it misses:
Would it be possible to add these? I think it will make the documentation friendlier.