Re: [Haskell-cafe] Hackage bug? Autobuild failure on literate source with ignored code blocks.

2009-09-29 Thread Duncan Coutts
On Mon, 2009-09-28 at 12:53 -0700, John Millikin wrote: In that case, I'll update my code and the wiki to use an alternative code style. Ok. On Mon, Sep 28, 2009 at 09:21, Duncan Coutts duncan.cou...@googlemail.com wrote: Your local Cabal version is older than the one Hackage is using and

Re: [Haskell-cafe] Hackage bug? Autobuild failure on literate source with ignored code blocks.

2009-09-28 Thread Duncan Coutts
On Sun, 2009-09-27 at 21:06 +0100, John Millikin wrote: According to http://www.haskell.org/haskellwiki/Literate_programming, the following should compile properly because the second block of code will be ignored by GHC: \begin{code} main = putStrLn Hello world! \end{code} \begin{code}%

Re: [Haskell-cafe] Hackage bug? Autobuild failure on literate source with ignored code blocks.

2009-09-28 Thread Brandon S. Allbery KF8NH
On Sep 28, 2009, at 12:21 , Duncan Coutts wrote: On Sun, 2009-09-27 at 21:06 +0100, John Millikin wrote: According to http://www.haskell.org/haskellwiki/ Literate_programming, the following should compile properly because the second block of code will be ignored by GHC: \begin{code} main =

Re: [Haskell-cafe] Hackage bug? Autobuild failure on literate source with ignored code blocks.

2009-09-28 Thread John Millikin
In that case, I'll update my code and the wiki to use an alternative code style. On Mon, Sep 28, 2009 at 09:21, Duncan Coutts duncan.cou...@googlemail.com wrote: Your local Cabal version is older than the one Hackage is using and that older version lets haddock (ie ghc) do the pre-processing

[Haskell-cafe] Hackage bug? Autobuild failure on literate source with ignored code blocks.

2009-09-27 Thread John Millikin
According to http://www.haskell.org/haskellwiki/Literate_programming, the following should compile properly because the second block of code will be ignored by GHC: \begin{code} main = putStrLn Hello world! \end{code} \begin{code}% main = -- TODO \end{code}% However, Hackage's automatic build