I am trying to document my parser library. In order to do so I should like to
include some example output in my haddock documentation. I fail to see however
how to get a block of output into the haddock part.
E.g.
-- | We can now run the parser @`pa`@ on input \a\, which succeeds:
-- @
I am trying to document my parser library. In order to do so I should like to
include some example output in my haddock documentation. I fail to see however
how to get a block of output into the haddock part.
E.g.
-- | We can now run the parser @`pa`@ on input \a\, which succeeds:
-- @
On Wednesday 21 July 2010 16:09:37, S. Doaitse Swierstra wrote:
I am trying to document my parser library. In order to do so I should
like to include some example output in my haddock documentation. I fail
to see however how to get a block of output into the haddock part.
E.g.
-- | We can
Unfortunately I get for input:
-- | We can now run the parser @`pa`@ on input \a\, which succeeds:
-- @
-- Result: \a\
-- Second line
-- @
the output
We can now run the parser pa on input a, which succeeds: Result: a Second
line
Doaitse
On 21 jul 2010, at 16:17, Daniel Fischer
On Wednesday 21 July 2010 16:23:48, S. Doaitse Swierstra wrote:
Unfortunately I get for input:
-- | We can now run the parser @`pa`@ on input \a\, which succeeds:
-- @
-- Result: \a\
-- Second line
-- @
the output
You need to separate the @'d paragraph from the rest of the comment by
S. Doaitse Swierstra doai...@cs.uu.nl writes:
Unfortunately I get for input:
-- | We can now run the parser @`pa`@ on input \a\, which succeeds:
-- @
-- Result: \a\
-- Second line
-- @
the output
We can now run the parser pa on input a, which succeeds: Result: a
Second line
Hi all,
The question I have is this: How can I get Haddock to omit listing
instances of package-internal data types for exported classes?
Here's an example of what I mean:
http://hackage.haskell.org/packages/archive/haskell-src-exts/1.6.0/doc/html/Language-Haskell-Exts-Pretty.html#t%3APretty
2010/1/15 Niklas Broberg niklas.brob...@gmail.com:
Hi all,
The question I have is this: How can I get Haddock to omit listing
instances of package-internal data types for exported classes?
You currently can't, unfortunately. See:
http://trac.haskell.org/haddock/ticket/37
David
On Fri, Jan 15, 2010 at 09:16:03PM +0100, Niklas Broberg wrote:
The question I have is this: How can I get Haddock to omit listing
instances of package-internal data types for exported classes?
It's a known limitation: http://trac.haskell.org/haddock/ticket/37
The question I have is this: How can I get Haddock to omit listing
instances of package-internal data types for exported classes?
You currently can't, unfortunately. See:
http://trac.haskell.org/haddock/ticket/37
Roger that, cc added.
Cheers,
/Niklas
Dear all
I'm trying to locally build the documentation for the haskell-src-exts package
and running into a bit of bother.
If I run: cabal haddock
I get the error:
haddock: parse error in doc string
so: cabal haddock -v
Doesn't really provide any extra information, it gives me the exact haddock
Ross Paterson wrote:
On Thu, Nov 27, 2008 at 11:52:04AM +, allan wrote:
I'm trying to locally build the documentation for the haskell-src-exts
package and running into a bit of bother.
If I run: cabal haddock
I get the error:
haddock: parse error in doc string
The problem is that
On Thu, Nov 27, 2008 at 11:52:04AM +, allan wrote:
I'm trying to locally build the documentation for the haskell-src-exts
package and running into a bit of bother.
If I run: cabal haddock
I get the error:
haddock: parse error in doc string
The problem is that several of the modules (not
Hello,
I follow the How to Write a Haskell program from
http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program, but
I have a problem with Haddock.
I use Windows XP, I when I install GHC + Haddock I have this warning output
C:\code\haskell\test runhaskell Setup.hs haddock
zhen.sydow:
Hello,
I follow the How to Write a Haskell program from
http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program, but
I have a problem with Haddock.
I use Windows XP, I when I install GHC + Haddock I have this warning output
C:\code\haskell\test runhaskell Setup.hs
15 matches
Mail list logo