Re: [Haskell-cafe] Hackage dependencies problem.

2012-11-19 Thread Ivan Lazar Miljenovic
On 19 November 2012 18:21, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, I am having ghc 7.6.1 working here. But anytime I installed something with cabal-install, I got prompts like: Warning: The following packages are likely to be broken by the reinstalls:

Re: [Haskell-cafe] Hackage dependencies problem.

2012-11-19 Thread Albert Y. C. Lai
On 12-11-19 04:45 AM, Ivan Lazar Miljenovic wrote: On 19 November 2012 18:21, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: command line: cannot satisfy -package Cabal-1.16.0: Cabal-1.16.0-dd0ce1db6fea670a788547ee85411486 is unusable due to missing or recursive dependencies:

Re: [Haskell-cafe] [repa] beginner questions

2012-11-19 Thread Dmitry Malikov
On 11/19/2012 01:21 AM, Dominic Steinitz wrote: Dmitry Malikov malikov.d.y at gmail.com writes: Playing around with repa arrays and got some questions. 1) How I can get list of indexes of array that suffice some predicate? a1 AUnboxed (Z :. 3) (fromList [False,False,True])

[Haskell-cafe] Cabal failures...

2012-11-19 Thread Gregory Guthrie
I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-) I am not

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Johan Tibell
Hi Greg, On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie guth...@mum.edu wrote: I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that

[Haskell-cafe] Reactive-Banana-Wx Install Trouble

2012-11-19 Thread Ian
Hi Everyone, I'm currently trying to install reactive-banana-wx on OSX. Whenever I try to cabal install it though, I get this error back: [1 of 1] Compiling Main ( /var/folders/yy/k1kyw7252q1f_01xv4q5nnj4gn/T/reactive-banana-wx-0.7.1.0-91555/reactive-banana-wx-0.7.1.0/Setup.hs,

Re: [Haskell-cafe] Reactive-Banana-Wx Install Trouble

2012-11-19 Thread Brandon Allbery
On Mon, Nov 19, 2012 at 5:13 PM, Ian fitzp...@tcd.ie wrote: Expected type: Args - Distribution.Simple.Setup.BuildFlags - Distribution.PackageDescription.PackageDescription - Distribution.Simple.LocalBuildInfo.LocalBuildInfo

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Greg Fitzgerald
cabal install -v cabal-install Not sure if you're running into this one, but a configuration that wasn't working for me: 1) Install Haskell Platform 2) Install GHC 7.6.1 3) cabal install cabal-install As I recall, the error had something to do with a Cabal-generated 'Paths' file assuming the

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Johan Tibell
On Mon, Nov 19, 2012 at 2:55 PM, Greg Fitzgerald gari...@gmail.com wrote: cabal install -v cabal-install Not sure if you're running into this one, but a configuration that wasn't working for me: 1) Install Haskell Platform 2) Install GHC 7.6.1 3) cabal install cabal-install As I

Re: [Haskell-cafe] Hackage dependencies problem.

2012-11-19 Thread Magicloud Magiclouds
Not only shadowing. For example, when I installed warp-static, yesod, or gtk2hs. A clear-user-space may ease the problem and got them installed. But normally with a not brand new user space, it failed like above. And, the key point is that using upgrade-dependencies with cabal-install. I am using

[Haskell-cafe] code length in Haskell, a comparison

2012-11-19 Thread Gregory Guthrie
There is some interesting data in the article at: Code Length Measured in 14 Languages http://blog.wolfram.com/2012/11/14/code-length-measured-in-14-languages/ basically comparing program lengths in various languages, and some ensuing discussion of how this relates to language

Re: [Haskell-cafe] code length in Haskell, a comparison

2012-11-19 Thread KC
I am leery of code comparisons (but not Timothy Leary of them). Clojure being a JVM language has the advantage of the massive Java class libraries. If Haskell could tie in fairly seamlessly to the Java class libraries ... If more developers learned the need for finer grained abstraction ...

[Haskell-cafe] cabal errors

2012-11-19 Thread Gregory Guthrie
I did a package check, and I always get a ton of these things: Warning: haddock-html: E:\Plang\Haskell Platform\lib\extralibs\doc\haskell-src-1.0.1.4\html doesn't exist or isn't a directory Which I think is just missing documentation, so I ignore them. But this time I also got this: The

Re: [Haskell-cafe] code length in Haskell, a comparison

2012-11-19 Thread Darren Grant
I find myself wondering where Rebol would stand in this. On Nov 19, 2012 8:35 PM, KC kc1...@gmail.com wrote: I am leery of code comparisons (but not Timothy Leary of them). Clojure being a JVM language has the advantage of the massive Java class libraries. If Haskell could tie in fairly

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Gregory Guthrie
Thanks for looking at this and the help; Trying with topdown changes things, but as often is the case warns that it will break another ~60 packages if I force it, not sure if this will help me or cause the ruin of the rest of the local Haskell library universe. Should I force it?! :-)

Re: [Haskell-cafe] code length in Haskell, a comparison

2012-11-19 Thread Ertugrul Söylemez
Darren Grant therealklu...@gmail.com wrote: I find myself wondering where Rebol would stand in this. Or APL. Greets, Ertugrul -- Not to be or to be and (not to be or to be and (not to be or to be and (not to be or to be and ... that is the list monad. signature.asc Description: PGP

[Haskell-cafe] Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language ...

2012-11-19 Thread KC
Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language (or generate bytecode) to access the Java class libraries when needed? Or Is there a way for a JVM language or bytecode to call Haskell when needed? -- -- Regards, KC

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Albert Y. C. Lai
On 12-11-19 04:25 PM, Gregory Guthrie wrote: I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities. I feel very

Re: [Haskell-cafe] Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language ...

2012-11-19 Thread John Wiegley
KC kc1...@gmail.com writes: Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language (or generate bytecode) to access the Java class libraries when needed? Or Is there a way for a JVM language or bytecode to call Haskell when needed? I'd be very interested

Re: [Haskell-cafe] Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language ...

2012-11-19 Thread Никитин Лев
And I'd be very interested.Let me know too, please. 20.11.2012, 13:32, "John Wiegley" jo...@newartisans.com: KC  kc1...@gmail.com writes: Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language (or generate bytecode) to access the Java class libraries when needed? 

Re: [Haskell-cafe] Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language ...

2012-11-19 Thread Mathijs Kwik
KC kc1...@gmail.com writes: Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language (or generate bytecode) to access the Java class libraries when needed? I once did a small test to get this working. It's not that hard, but needs some work. It's fine for

Re: [Haskell-cafe] Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language ...

2012-11-19 Thread JP Moresmau
You may want to have a look at my little HJVM project on Github ( https://github.com/JPMoresmau/HJVM). Promise, I'll put in on Hackage some day. Basically it provides FFI wrappers and some c code to be able to start a JVM and call Java methods, etc from Haskell. -- JP Moresmau