Re: [Haskell-cafe] Managing multiple installations of GHC

2010-12-01 Thread Mark Lentczner
On Dec 1, 2010, at 8:38 PM, Antoine Latter wrote: > If you're doing user installations of packages with 'cabal-install' it > will take care of everything - all of the things that it installs are > in per-GHC-version directories. ... > Except for the haddock documentation that cabal-install instal

Re: [Haskell-cafe] Managing multiple installations of GHC

2010-12-01 Thread Antoine Latter
On Wed, Dec 1, 2010 at 10:16 PM, Robert Clausecker wrote: > Hi folks! > > I want to test the new version 7 of GHC, but don't want to replace the > packaged version 6.12 with it.  I'm not very advanced with the internals > of GHC and have some problems.  So these are my questions: > > I installed G

[Haskell-cafe] Managing multiple installations of GHC

2010-12-01 Thread Robert Clausecker
Hi folks! I want to test the new version 7 of GHC, but don't want to replace the packaged version 6.12 with it. I'm not very advanced with the internals of GHC and have some problems. So these are my questions: I installed GHC into a subdir of my homedir, let's call it ~/ghc7. How can I install

Re: [Haskell-cafe] Bifold: a simultaneous foldr and foldl

2010-12-01 Thread Larry Evans
On 11/30/10 13:43, Noah Easterly wrote: > On Tue, Nov 30, 2010 at 9:37 AM, Larry Evans > wrote: > > suggested to me that bifold might be similar to the function, Q, of > section 12.5 equation 1) on p. 15 of: > > http://www.thocp.net/biographies/pape

[Haskell-cafe] Haskell Weekly News: Issue 160 - December 1, 2010

2010-12-01 Thread Daniel Santa Cruz
Welcome to issue 160 of the HWN, a newsletter covering developments in the [1]Haskell community in the week of November 21 - 27. My apologies for proving a much shorter version of the weekly news this time around. I'm really short on time this week, but decided to send this abbrevia

Re: [Haskell-cafe] How to cabal fetch mtl==2.0.0.0?

2010-12-01 Thread Iain Alexander
On 25 Nov 2010 at 23:48:27, Ross Paterson wrote: > On Fri, Nov 26, 2010 at 12:24:26AM +0100, Bas van Dijk wrote: > > Maybe it helps if special-functors gets an upper bound on its mtl > > dependency: mtl < 2. > > It should have mtl < 1.1.1.0, because that version lacks one of the > instances it re

Re: [Haskell-cafe] Who's in charge of the new Haskell.org server?

2010-12-01 Thread Roman Cheplyaka
* Thomas Schilling [2010-12-01 20:29:48+] > On 1 December 2010 18:55, Christopher Done wrote: > I think adding new extensions would be possible if they are considered > useful enough. I find it useful, especially for (potential) newcomers who don't yet have enough motivation to install ghc.

Re: [Haskell-cafe] Who's in charge of the new Haskell.org server?

2010-12-01 Thread Thomas Schilling
On 1 December 2010 18:55, Christopher Done wrote: > If someone will allow me to send them an extension for WikiMedia I will > write one. It shouldn't be complex at all, so code review will be trivial. > Please let me know! I'm sure other people here are interested to know who to > go to to get thi

Re: [Haskell-cafe] DPH and GHC 7.0.1

2010-12-01 Thread Andrew Coppin
On 29/11/2010 01:42 AM, Manuel M T Chakravarty wrote: Andrew Coppin: I was wondering about this myself, actually. I'm especially surprised since I thought the DPH implementation was hard-wired into the compilter itself (in which case, how can you distribute it seperately?) Then again, I've ne

Re: [Haskell-cafe] Unable to install packages

2010-12-01 Thread Albert Y. C. Lai
On 10-11-30 05:19 AM, Ketil Malde wrote: It seems to me that while there are *three* ways to install stuff: apt-get install, cabal install --global, and cabal install --user, there are just *two* ways things get installed, globally and user(ly?). The "obvious" solution would be to have three pac

[Haskell-cafe] Who's in charge of the new Haskell.org server?

2010-12-01 Thread Christopher Done
If someone will allow me to send them an extension for WikiMedia I will write one. It shouldn't be complex at all, so code review will be trivial. Please let me know! I'm sure other people here are interested to know who to go to to get things like this done. It would be cool to write an extensio

Re: [Haskell-cafe] Conditional compilation for different versionsof GHC?

2010-12-01 Thread Michael Snoyman
On Wed, Dec 1, 2010 at 6:58 PM, Claus Reinke wrote: >> This is obviously a personal preference issue, but I try to avoid the >> Cabal macros since they don't let my code run outside the context of >> Cabal. I often times like to have a test suite that I can just use >> with runhaskell, and (unless

Re: [Haskell-cafe] "Out of memory" if compiled with -O2, why?

2010-12-01 Thread Jason Dagit
On Wed, Dec 1, 2010 at 6:23 AM, Dmitry Kulagin wrote: > Hi, > > I have problems with memory leaks and can't find out how to avoid them. > I tried to reduce sample to demonstrate the following problems: > 1) when compiled without -O2 option, it iconsumes 1582MB (!) total memory > 2) when compiled w

Re: [Haskell-cafe] "Out of memory" if compiled with -O2, why?

2010-12-01 Thread Petr Prokhorenkov
Hi, Dmitry I recently had the same problem: http://www.haskell.org/pipermail/haskell-cafe/2010-November/086450.html Memory is taken by the list returned by your lst function wich is being shared across g,h,i,j,k,l,m,n. Apparently there is no safe and easy way to overcome this yet :( -- Regards,

Re: [Haskell-cafe] Conditional compilation for different versionsof GHC?

2010-12-01 Thread Claus Reinke
This is obviously a personal preference issue, but I try to avoid the Cabal macros since they don't let my code run outside the context of Cabal. I often times like to have a test suite that I can just use with runhaskell, and (unless you can tell me otherwise) I can't run it anymore. Also, I thi

[Haskell-cafe] Cabal sdist bug patch

2010-12-01 Thread John D. Ramsdell
So as far as I can tell, it's easy to fix the cabal sdist bug. The module that generates a distribution simply has to use insntallOrdinaryFile when copying files, not the version of copyFile that is exported by Distribution.Simple.Util. I'll respond to the open ticket with this patch later today.

[Haskell-cafe] "Out of memory" if compiled with -O2, why?

2010-12-01 Thread Dmitry Kulagin
Hi, I have problems with memory leaks and can't find out how to avoid them. I tried to reduce sample to demonstrate the following problems: 1) when compiled without -O2 option, it iconsumes 1582MB (!) total memory 2) when compiled with -O2 option it terminates with "out of memory" Actually I don'

Re: [Haskell-cafe] [ANNOUNCE] A general data-flow framework

2010-12-01 Thread Henk-Jan van Tuyl
On Wed, 01 Dec 2010 03:18:30 +0100, Mitar wrote: Hi! I have just published my library which provides a general data-flow framework: http://hackage.haskell.org/package/Etage As it is meant for neural networks, you should also add AI to the category in the cabal file. Regards, Henk-Jan

Re: [Haskell-cafe] ANN: HaLVM 1.0: the Haskell Lightweight Virtual Machine

2010-12-01 Thread Neil Davies
Yes, thanks for sharing .. > Congrats to Galois for open sourcing this. Now let the collaboration begin. > > Would it be possible to run HaLVM on Amazon EC2? They do say that you can boot any image from an EBS volume - if you start playing with this I would be interested to hear any (

Re: [Haskell-cafe] doesDirectoryExist is always returning False

2010-12-01 Thread Yitzchak Gale
On Sat, Nov 20, 2010 at 4:55 PM, Marcelo Sousa wrote: > I'm having currently a problem with System.Directory in my mac os. >   System Version: Mac OS X 10.6.5 >   Kernel Version: Darwin 10.5.0 > Prelude System.Directory> let dirTest = do {dir <- getCurrentDirectory; > doesDirectoryExist dir} > Prel

Re: [Haskell-cafe] Printing of asynchronous exceptions to stderr

2010-12-01 Thread Simon Marlow
On 01/12/2010 03:02, Mitar wrote: Hi! On Thu, Nov 18, 2010 at 2:19 PM, Simon Marlow wrote: then it isn't uninterruptible, because the timeout can interrupt it. If you can tolerate a timeout exception, then you can tolerate other kinds of async exception too. Yes, but semantics are different

Re: [Haskell-cafe] Most images broken on haskellwiki pages

2010-12-01 Thread Yitzchak Gale
Eugene Kirpichov wrote: > I looked at a couple pages of mine... > and looks > like the vast majority of images are not displaying. This probably has to do with moving the wiki to the new server during the past few days. I forwarded your email to the admin team there for them to have a look. Regar