
26 Oct
2017
26 Oct
'17
8:32 a.m.
On Thu, Oct 26, 2017 at 02:58:43PM +0300, Baa wrote:
@Francesco:
I tried it (added extension InstanceSigs, added "^.."-style docstring), nothing changed. So, may be docstrings in instances are impossible at whole? May be it makes sense... May be they should be documented in its classes instead?
Mhhh indeed you are correct, I tried to replicate and while haddock doesn't complain, it doesn't output anything for the implemented functions. Maybe a workaround could be: -- | Prova instance Fun Foo where fun :: a fun = undefined This will put text on the right of the /instance declaration/.