Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-20 Thread Sjoerd Visscher
I have the same issue with zlib: /usr/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --lflag=-lz --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/bytestring-0.9.1.4/include

Re: [Haskell-cafe] ANN: Hemkay, the 100% Haskell MOD player

2009-12-20 Thread Patai Gergely
Hello all, I did some refactoring, and separated the device independent part of Hemkay into a package of its own, hemkay-core [1]. This is a library that provides facilities to load MOD music and render it in various ways, including a direct-to-buffer option that's considerably more efficient

Re: [Haskell-cafe] ANN: Happstack 0.4.1

2009-12-20 Thread Michael Hartl
What is the relationship between HAppS and Happstack? I actually thought that Happstack was the former name of HAppS, but now it seems that I'm wrong...? Regards Am Samstag, den 19.12.2009, 18:17 -0600 schrieb Jeremy Shaw: Happstack 0.4.1 STABLE is now available. We recommend that all users

Re: [Haskell-cafe] ANN: Happstack 0.4.1

2009-12-20 Thread Ivan Lazar Miljenovic
Michael Hartl mikeha...@web.de writes: What is the relationship between HAppS and Happstack? I actually thought that Happstack was the former name of HAppS, but now it seems that I'm wrong...? Other way round: Happstack is the new revamped HAppS. -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-20 Thread Duncan Coutts
On Sun, 2009-12-20 at 11:17 +0100, Sjoerd Visscher wrote: I have the same issue with zlib: /usr/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --lflag=-lz

Re: [Haskell-cafe] ANN: Happstack 0.4.1

2009-12-20 Thread Michael Hartl
Ah, that's it. ;-) Thanks! Am Sonntag, den 20.12.2009, 22:23 +1000 schrieb Ivan Lazar Miljenovic: Michael Hartl mikeha...@web.de writes: What is the relationship between HAppS and Happstack? I actually thought that Happstack was the former name of HAppS, but now it seems that I'm

[Haskell-cafe] Hackage build failure woes

2009-12-20 Thread Patai Gergely
[1] http://hackage.haskell.org/package/hemkay-core [2] http://hackage.haskell.org/package/hemkay Hmm, it's a pity that they don't build on Hackage due to a conflict between two bytestring versions -- the current and the one binary was compiled with, I assume. It would be nice if at least the

[Haskell-cafe] HList and SQL ... looking for working examples

2009-12-20 Thread Günther Schmidt
Hi, I'm trying express relational algebra terms by using Oleg's HList. Table definitions and such. Are there any working examples for this? Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Search a directory for files

2009-12-20 Thread Andrew Coppin
Eitan Goldshtrom wrote: Thanks. This looks like exactly what I was looking for. I feel silly for not finding it myself. =P Also, I believe System.Directory should be portable, whereas (presumably) POSIX-stuff is a little less portable. (This may or may not be important to you. If it is, you

[Haskell-cafe] Dead links for Web frameworks.

2009-12-20 Thread Jason Dusek
I recently removed dead links on the web frameworks page, for EdComb and Generative Implementation Strategies for Data-Centric Web Applications. http://www.haskell.org/haskellwiki/?title=Applications_and_libraries/Web_programmingdiff=32684oldid=26360 I'm curious what happened to

[Haskell-cafe] Instances of `IsString`.

2009-12-20 Thread Jason Dusek
A quick check on Hayoo! and in my interpreter shows that there are basically no instances of `IsString`. Is it really so little used? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Instances of `IsString`.

2009-12-20 Thread Brandon S. Allbery KF8NH
On Dec 20, 2009, at 17:09 , Jason Dusek wrote: A quick check on Hayoo! and in my interpreter shows that there are basically no instances of `IsString`. Is it really so little used? The only 2 instances I'm aware of are String and lazy and strict ByteStrings. It's not clear to me that

Re: [Haskell-cafe] Instances of `IsString`.

2009-12-20 Thread Antoine Latter
On Sun, Dec 20, 2009 at 4:12 PM, Brandon S. Allbery KF8NH allb...@ece.cmu.edu wrote: On Dec 20, 2009, at 17:09 , Jason Dusek wrote:  A quick check on Hayoo! and in my interpreter shows that  there are basically no instances of `IsString`. Is it  really so little used? The only 2 instances

[Haskell-cafe] no sparks?

2009-12-20 Thread Jamie Morgenstern
Hello; I am writing a parallel theorem prover using Haskell, and I am trying to do several things. As a first cut, I want to try using the par construct to attempt right and left rules simultaneously, and to evaluate both branches of an and clause in parallel. My code (attached) does not seem

Re: [Haskell-cafe] Instances of `IsString`.

2009-12-20 Thread Jason Dusek
2009/12/20 Brandon S. Allbery KF8NH allb...@ece.cmu.edu: On Dec 20, 2009, at 17:09 , Jason Dusek wrote:  A quick check on Hayoo! and in my interpreter shows that  there are basically no instances of `IsString`. Is it  really so little used? The only 2 instances I'm aware of are String and

[Haskell-cafe] An old package and the new Cabal.

2009-12-20 Thread Jason Dusek
I'm trying to update CEDICT to work with the new Cabal (after many years of neglect). http://github.com/jsnx/cedict/tree/40d426c6d7db65948cef5c357633628a5275d877 Right now, it can't seem to find the data header `c/data.h` no matter what I put in the Cabal file. I'd think these lines

[Haskell-cafe] Re: no sparks?

2009-12-20 Thread Maciej Piechotka
On Sun, 2009-12-20 at 17:25 -0500, Jamie Morgenstern wrote: Hello; I am writing a parallel theorem prover using Haskell, and I am trying to do several things. As a first cut, I want to try using the par construct to attempt right and left rules simultaneously, and to evaluate both

Re: [Haskell-cafe] Re: no sparks?

2009-12-20 Thread Jamie Morgenstern
I did compile with -threaded. On Sun, Dec 20, 2009 at 5:42 PM, Maciej Piechotka uzytkown...@gmail.comwrote: On Sun, 2009-12-20 at 17:25 -0500, Jamie Morgenstern wrote: Hello; I am writing a parallel theorem prover using Haskell, and I am trying to do several things. As a first

Re: [Haskell-cafe] Re: no sparks?

2009-12-20 Thread Brandon S. Allbery KF8NH
On Dec 20, 2009, at 17:42 , Maciej Piechotka wrote: -threaded? RTS wouldn't accept -N2 if it weren't compiled threaded. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu electrical and computer

Re: [Haskell-cafe] no sparks?

2009-12-20 Thread Daniel Fischer
Am Sonntag 20 Dezember 2009 23:25:02 schrieb Jamie Morgenstern: Hello; I am writing a parallel theorem prover using Haskell, and I am trying to do several things. As a first cut, I want to try using the par construct to attempt right and left rules simultaneously, and to evaluate both

Re: [Haskell-cafe] no sparks?

2009-12-20 Thread Felipe Lessa
On Mon, Dec 21, 2009 at 12:39:06AM +0100, Daniel Fischer wrote: Am Sonntag 20 Dezember 2009 23:25:02 schrieb Jamie Morgenstern: Also, I was wondering if something akin to a parallel or exists. By this, I mean I am looking for a function which, given x : a , y : a, returns either, whichever

[Haskell-cafe] Re: no sparks?

2009-12-20 Thread Benedikt Huber
Felipe Lessa schrieb: On Mon, Dec 21, 2009 at 12:39:06AM +0100, Daniel Fischer wrote: Am Sonntag 20 Dezember 2009 23:25:02 schrieb Jamie Morgenstern: Also, I was wondering if something akin to a parallel or exists. By this, I mean I am looking for a function which, given x : a , y : a, returns

Re: [Haskell-cafe] no sparks?

2009-12-20 Thread Daniel Fischer
Am Montag 21 Dezember 2009 01:00:10 schrieb Felipe Lessa: On Mon, Dec 21, 2009 at 12:39:06AM +0100, Daniel Fischer wrote: Am Sonntag 20 Dezember 2009 23:25:02 schrieb Jamie Morgenstern: Also, I was wondering if something akin to a parallel or exists. By this, I mean I am looking for a

Re: [Haskell-cafe] no sparks?

2009-12-20 Thread Felipe Lessa
On Mon, Dec 21, 2009 at 01:46:57AM +0100, Daniel Fischer wrote: Am Montag 21 Dezember 2009 01:00:10 schrieb Felipe Lessa: There's 'unamb' in Hackage, however I think you should carefully understand its implementation details before using it. Not that I use it myself. Which is a (much)

Re: [Haskell-cafe] no sparks?

2009-12-20 Thread Daniel Fischer
Am Montag 21 Dezember 2009 02:03:20 schrieb Felipe Lessa: Actually my concern was about performance, not correctness. That's why I mentioned the implementation details.  It is probably easy to make your machine crawl by putting unamb in your inner loop. Heh :D I'd think so, too. --

[Haskell-cafe] Re: no sparks?

2009-12-20 Thread Benedikt Huber
Daniel Fischer schrieb: Am Sonntag 20 Dezember 2009 23:25:02 schrieb Jamie Morgenstern: Hello; Also, I was wondering if something akin to a parallel or exists. By this, I mean I am looking for a function which, given x : a , y : a, returns either, whichever computation returns first. This

Re: [Haskell-cafe] ANN: Happstack 0.4.1

2009-12-20 Thread Matthew Elder
Hooray! On 12/19/09, Jeremy Shaw jer...@n-heptane.com wrote: Happstack 0.4.1 STABLE is now available. We recommend that all users of Happstack update to 0.4.1 immediately. Migration from Happstack 0.3 should be trivial. There was one race condition in happstack-state which could cause a