[Haskell-cafe] ANNOUNCE: hs-cryptohash 0.4

Joachim Breitner mail at joachim-breitner.de
Fri Jul 2 03:23:58 EDT 2010


Hi,

Am Freitag, den 02.07.2010, 17:14 +1000 schrieb Ivan Miljenovic:
> On 2 July 2010 16:57, Joachim Breitner <mail at joachim-breitner.de> wrote:
> > Am Freitag, den 02.07.2010, 12:55 +1000 schrieb Ivan Miljenovic:
> >>  This can be resolved by putting the build-depends line in the if
> >> statement (and should maybe put up the top of the executable section
> >> to make it more obvious):
> >
> > the latter was not possible last time I checked.
> 
> Do you mean putting the if statement at the top of the executable
> section?  Works for me:
> http://hackage.haskell.org/packages/archive/graphviz/2999.9.0.0/graphviz.cabal
> (also in other cases that I've looked at).

sorry, no, I meant wrapping the whole executable section in an if
statement, which to seems the most natural way of making an executable
conditional.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
  mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100702/b44f43e1/attachment.bin


More information about the Haskell-Cafe mailing list