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?! (Baa) ---------------------------------------------------------------------- Message: 1 Date: Thu, 26 Oct 2017 14:58:43 +0300 From: Baa <aqua...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] What's wrong with Haddock?! Message-ID: <20171026145843.189f798c@Pavel> Content-Type: text/plain; charset=US-ASCII @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? > On Thu, Oct 26, 2017 at 02:11:10PM +0300, Baa wrote: > > @Francesco Ariis: > > > > instance Conversion UTCTime where > > aspS a = round $ 1E12 * utcTimeToPOSIXSeconds a -- ^as time > > period from 1970-1-1 frompS a = posixSecondsToUTCTime $ fromInteger > > $ (round $ d/1E12) -- ^from time period from 1970-1-1 where d = > > fromInteger a :: Double > > -- ^ is meant to be put after a function *declaration* iirc. Try to > add signatures to your instance as > > instance Foo Bar where > fa :: Int -> a -- ^ some comment > fa x = undefined > fb :: String -> a -- ^ some more comment > fb x = undefined > > and let us know if it fixed the problem. > _______________________________________________ > 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 24 ******************************************