[Haskell-cafe] Re: Haskore

2006-09-22 Thread Jón Fairbairn
David Curran [EMAIL PROTECTED] writes:

 Hi
 I have been trying to learn haskell (tip over the vending machine)

Tipping over a vending machine is a real world effect, so
you'll have to use the IO Monad.

-- 
Jón Fairbairn [EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


RE: [Haskell-cafe] Re: Haskore dependency trouble

2006-07-13 Thread Simon Marlow
On 12 July 2006 16:12, Bulat Ziganshin wrote:

 Hello Simon,
 
 Wednesday, July 12, 2006, 6:28:55 PM, you wrote:
 
 like to be able to say the following: Cabal, find and use package X
 if it exists.  Furthermore, when CPPing source code, set a #define
 HAS_PACKAGE_X so I can do conditional compilation based on the
 (non-) 
 
 I have some changes to Cabal partly finished that will address this.
 Don't worry, it's coming.
 
 thanks, i will be glad to see it. but it will be GHC66-only?

No, just a new version of Cabal, which will work with 6.4.x.

Cheers,
Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re[2]: [Haskell-cafe] Re: Haskore dependency trouble

2006-07-13 Thread Bulat Ziganshin
Hello Simon,

Thursday, July 13, 2006, 1:40:22 PM, you wrote:

 I have some changes to Cabal partly finished that will address this.
 Don't worry, it's coming.
 
 thanks, i will be glad to see it. but it will be GHC66-only?

 No, just a new version of Cabal, which will work with 6.4.x.

anyway it will require from user to upgrade his Cabal installation
before installing my library. and what if he then comes to install
some lib what is bundled for Cabal shipped with ghc 6.4.2 ? :(



-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


RE: Re[2]: [Haskell-cafe] Re: Haskore dependency trouble

2006-07-13 Thread Simon Marlow
On 13 July 2006 11:27, Bulat Ziganshin wrote:

 Hello Simon,
 
 Thursday, July 13, 2006, 1:40:22 PM, you wrote:
 
 I have some changes to Cabal partly finished that will address
 this. Don't worry, it's coming.
 
 thanks, i will be glad to see it. but it will be GHC66-only?
 
 No, just a new version of Cabal, which will work with 6.4.x.
 
 anyway it will require from user to upgrade his Cabal installation
 before installing my library. and what if he then comes to install
 some lib what is bundled for Cabal shipped with ghc 6.4.2 ? :(

Maybe the new Cabal will be backwards compatible, in which case there's
no problem.  If it isn't, then you can install two versions of Cabal
side by side (this is supported using the cabal-setup program), or (b)
the maintainer of the other package should update the package for the
new Cabal.

Cheers,
Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Haskore dependency trouble

2006-07-12 Thread Bulat Ziganshin
Hello Simon,

Wednesday, July 12, 2006, 6:28:55 PM, you wrote:

 like to be able to say the following: Cabal, find and use package X
 if it exists.  Furthermore, when CPPing source code, set a #define  
 HAS_PACKAGE_X so I can do conditional compilation based on the (non-) 

 I have some changes to Cabal partly finished that will address this.  Don't
 worry, it's coming.

thanks, i will be glad to see it. but it will be GHC66-only?



-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe