Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  What's wrong with Haddock?! (Francesco Ariis)
   2. Re:  What's wrong with Haddock?! (Baa)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 Oct 2017 14:32:10 +0200
From: Francesco Ariis <fa...@ariis.it>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] What's wrong with Haddock?!
Message-ID: <20171026123210.dgj3ctgoygxi7...@x60s.casa>
Content-Type: text/plain; charset=us-ascii

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/.


------------------------------

Message: 2
Date: Thu, 26 Oct 2017 16:02:44 +0300
From: Baa <aqua...@gmail.com>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] What's wrong with Haddock?!
Message-ID: <20171026160244.2e84e551@Pavel>
Content-Type: text/plain; charset=US-ASCII

@Francesco: yes, it is. OK, it's a workaround :)
Thank you!

> 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/.
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners



------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 112, Issue 25
******************************************

Reply via email to