[arch-haskell] Setup: Can't find transitive deps for haddock with Leksah

2011-06-27 Thread Mathew de Detrich
Ok, so once again I have tried to compile/install leksah ( http://hackage.haskell.org/package/leksah) with Haskell when using cabal2arch, and just after the package is 'built' (but not yet finalized) I get this error message Configuring leksah-0.10.0.4... Preprocessing library leksah-0.10.0.4...

Re: [arch-haskell] Build error with lekash on archlinux when using cabal2arch

2011-05-13 Thread Mathew de Detrich
...@therning.orgwrote: On Fri, May 13, 2011 at 03:49:55PM +1000, Mathew de Detrich wrote: Also I am not compiling leksah with profiling, I am just using cabal2arch on the standard leksah package on http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal cabal2arch will create a PKGBUILD

Re: [arch-haskell] Build error with lekash on archlinux when using cabal2arch

2011-05-13 Thread Mathew de Detrich
Therning mag...@therning.orgwrote: On Fri, May 13, 2011 at 04:08:49PM +1000, Mathew de Detrich wrote: Well I didn't explicitly turn on profiling as an environment variable, but in any case filepath ships with GHC so that wouldn't fix anything (unless you wanted to use cabal2arch on filepath

Re: [arch-haskell] Build error with lekash on archlinux when using cabal2arch

2011-05-13 Thread Mathew de Detrich
Well I will forward this to the Leksah guys then On Fri, May 13, 2011 at 4:49 PM, Magnus Therning mag...@therning.orgwrote: On Fri, May 13, 2011 at 04:16:39PM +1000, Mathew de Detrich wrote: Oh no, I understood that perfectly. Technically speaking its an issue with the cabal package file

Re: [arch-haskell] Build error with lekash on archlinux when using cabal2arch

2011-05-13 Thread Mathew de Detrich
On Fri, 2011-05-13 at 07:49 +0100, Magnus Therning wrote: On Fri, May 13, 2011 at 04:16:39PM +1000, Mathew de Detrich wrote: Oh no, I understood that perfectly. Technically speaking its an issue with the cabal package file, although I have no idea if this is something cabal package

[arch-haskell] Build error with lekash on archlinux when using cabal2arch

2011-05-12 Thread Mathew de Detrich
In case this is an issue with archlinux platform specifically and not GHC in general http://hackage.haskell.org/trac/ghc/ticket/5193 Thanks ___ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

Re: [arch-haskell] Build error with lekash on archlinux when using cabal2arch

2011-05-12 Thread Mathew de Detrich
+1000, Mathew de Detrich wrote: In case this is an issue with archlinux platform specifically and not GHC in general http://hackage.haskell.org/trac/ghc/ticket/5193 Are you compiling leksah with profiling? If so, try turning it off. I'm also confused why you raised the bug on GHC's trac

[arch-haskell] GHC 7.0.3 Status?

2011-05-10 Thread Mathew de Detrich
Does anyone know what the status is for GHC 7.0.3 for archlinux is, I am currently unable to do Haskell work on my new x64 laptop due to a package thats unable to install (utf8-light) on ghc 7.0.2 on 64 bit systems For those interest, I get the issue described here

[Haskell-cafe] Idea for Haddock: Specifying a syntax field when using template splicing

2011-05-03 Thread Mathew de Detrich
I just had an idea while I was working on a webserver in Haskell, where I not only enter Haskell code (obviously) but I also enter Javascript and CSS code in functions that use QuasiQuoting (i.e. TemplateHaskell). The idea is basically that with standard Haddock comments you can specify a 'tag'

Re: [Haskell-cafe] ANN: Leksah 0.10.0

2011-05-03 Thread Mathew de Detrich
Well I kind of meant an eclipse type of IDE tailored for Haskell programming (with complete refactoring and code completion for the Haskell language) On Wed, May 4, 2011 at 4:45 AM, John Smith volderm...@hotmail.com wrote: On 03/05/2011 02:49, Mathew de Detrich wrote: The best thing

Re: [Haskell-cafe] [web-devel] Odd Ambiguous type variable `a0' in the constraint: error (with Yesod)

2011-05-02 Thread Mathew de Detrich
, and I'm planning on documenting it then. Michael On Sun, May 1, 2011 at 6:50 AM, Mathew de Detrich dete...@gmail.com wrote: Ok so I have a problem that was described here (http://permalink.gmane.org/gmane.comp.lang.haskell.web/1431) in regards to returning a Ambiguous type variable `a0

Re: [Haskell-cafe] [web-devel] Odd Ambiguous type variable `a0' in the constraint: error (with Yesod)

2011-05-02 Thread Mathew de Detrich
, Michael On Mon, May 2, 2011 at 4:14 PM, Mathew de Detrich dete...@gmail.com wrote: Ok I have found the source issue, in my case it was an issue that ended up turning into how the modules for my Webserver is organized, and that compiler error (about an ambiguous type) occurred because my main

Re: [Haskell-cafe] [web-devel] Odd Ambiguous type variable `a0' in the constraint: error (with Yesod)

2011-05-02 Thread Mathew de Detrich
information that won't necessarily apply to your case. Michael On Mon, May 2, 2011 at 4:28 PM, Mathew de Detrich dete...@gmail.com wrote: .. You tell me this now ;) I was actually wanting to look at scaffolding, but the section for it in the Yesod book is not completed yet (http

Re: [Haskell-cafe] [web-devel] Odd Ambiguous type variable `a0' in the constraint: error (with Yesod)

2011-05-02 Thread Mathew de Detrich
Ok thanks, that helped On Mon, May 2, 2011 at 11:53 PM, Michael Snoyman mich...@snoyman.comwrote: Type: yesod init It will ask you some questions and then generate a bootstrap site. Michael On Mon, May 2, 2011 at 4:40 PM, Mathew de Detrich dete...@gmail.com wrote: Im not sure what

Re: [Haskell-cafe] ANN: Leksah 0.10.0

2011-05-02 Thread Mathew de Detrich
guess we will not reach something usable this way. Jürgen On 30 Apr., 11:25, Mathew de Detrich dete...@gmail.com wrote: Is there going to be any plans to integrate Yi into Leksah as you originally planned to, or is that idea for the short term out the window? On Fri, Apr 22, 2011 at 8:40

Re: [Haskell-cafe] ANN: Leksah 0.10.0

2011-04-30 Thread Mathew de Detrich
Is there going to be any plans to integrate Yi into Leksah as you originally planned to, or is that idea for the short term out the window? On Fri, Apr 22, 2011 at 8:40 PM, Hamish Mackenzie hamish.k.macken...@googlemail.com wrote: Yesterday we uploaded our official 0.10.0 release (0.10.0.4) to

[Haskell-cafe] Odd Ambiguous type variable `a0' in the constraint: error (with Yesod)

2011-04-30 Thread Mathew de Detrich
Ok so I have a problem that was described here ( http://permalink.gmane.org/gmane.comp.lang.haskell.web/1431) in regards to returning a Ambiguous type variable `a0' in the constraint error when compiling. Originally I thought it was due to the way I was coding that part of the code (or to be more

Re: [arch-haskell] Issues with cabal2arch/AUR packages

2011-03-28 Thread Mathew de Detrich
Well basically the point would be that libraries would be installed through cabal install however haskell binaries you would install through AUR, and the PKGBUILD would (indirectly through some shell script) check for dependencies, and if a library isn't installed it would temporarily install it

Re: [arch-haskell] Issues with cabal2arch/AUR packages

2011-03-28 Thread Mathew de Detrich
de Detrich dete...@gmail.comwrote: Well basically the point would be that libraries would be installed through cabal install however haskell binaries you would install through AUR, and the PKGBUILD would (indirectly through some shell script) check for dependencies, and if a library isn't

[Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread Mathew de Detrich
Since the site for signing up to haddock mailing list seems to be down ( http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock) I thought I would post this here Haddock fails to parse (and therefore closes prematurely) when generating documentation for the Hamlet package found here (

Re: [Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread Mathew de Detrich
Don't need to worry about this, its being fixed in the next release of hamlet On Sun, Mar 13, 2011 at 1:25 AM, Mathew de Detrich dete...@gmail.comwrote: Since the site for signing up to haddock mailing list seems to be down ( http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock) I

[arch-haskell] Haddock fails on parsing Hamlet

2011-03-12 Thread Mathew de Detrich
Since the site for signing up to haddock mailing list seems to be down ( http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock) I thought I would post this here Haddock fails to parse (and therefore closes prematurely) when generating documentation for the Hamlet package found here (

[Haskell-cafe] Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread Mathew de Detrich
Well basically, I haven't update my Haskell libraries for some time now (around a month) so when I finally got around to updating my Haskell packages (which are installed through Archlinux's AUR) my GHC installation broke (again). This has been happening for some time now (I have been having this

[Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread Mathew de Detrich
This is an example of what happens Proceed with installation? [Y/n] Y checking package integrity... (1/1) checking for file conflicts [##] 100% ghc-pkg: unregistering gio-0.11.1 would break the following packages: ltk-0.8.0.8 gtksourceview2-0.12.1 gtk-0.11.2 (use

Re: [Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread Mathew de Detrich
Yeah I used to do that as well, but then that kind of fails on packages that provides both libraries and binaries (and other issues as well) On 16/11/2010 4:53 PM, James Sanders jimmyjaz...@gmail.com wrote: Personally I gave up on installing haskell packages through AUR, I pretty much stick to

[Haskell-cafe] Will GHC 6.14 with LLVM use LLVM C compiler to compile external C Libraries

2010-09-09 Thread Mathew de Detrich
Since GHC 6.14 will (hopefully) be use LLVM as a default backend, an idea has occured to me Should GHC also use the clang (C/C++-LLVM compiler) on external C library sources which are used with certain Haskell packages (such as gtk) when LLVM does become a default backend for GHC. The consensus

Re: [Haskell-cafe] Will GHC 6.14 with LLVM use LLVM C compiler to compile external C Libraries

2010-09-09 Thread Mathew de Detrich
This is the main thing I was getting behind, making cross compiling slightly easier (in regards to C/C++ sources). As also pointed out, whole program optimization can be one major benefit to integrating Clang like this. On Fri, Sep 10, 2010 at 11:01 AM, David Terei dave.te...@gmail.com wrote: I

Re: [Haskell-cafe] circular imports

2010-09-07 Thread Mathew de Detrich
, and not an intentional design decision to encourage good design. On Tue, Sep 7, 2010 at 6:51 AM, Mathew de Detrich dete...@gmail.com wrote: I had the same is... ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: RE: [Haskell-cafe] circular imports

2010-09-07 Thread Mathew de Detrich
#comment:37 Simon *From:* haskell-cafe-boun...@haskell.org [mailto: haskell-cafe-boun...@haskell.org] *On Behalf Of *Daniel Peebles *Sent:* 07 September 2010 06:06 *To:* Mathew de Detrich *Cc:* Ivan Lazar Miljenovic; haskell *Subject:* Re: [Haskell-cafe] circular imports I was under

Re: [Haskell-cafe] help me evangelize haskell.

2010-09-06 Thread Mathew de Detrich
, Mathew de Detrich dete...@gmail.com wrote: If they are perl programme... Now that's going to go down well... Maybe the original poster might want to soak up the company culture for a while before than telling co-workers how to do things. ___ Haskell-Cafe

Re: [Haskell-cafe] Re: Paralelism and Distribution in Haskell

2010-09-06 Thread Mathew de Detrich
Before Haskell took off with parallelism, it was assumed that Haskell would be trivial to run concurrently on cores because majority of Haskell programs were pure, so you could simply run different functions on different cores and string the results together when your done It turned out that

Re: [Haskell-cafe] Re: Paralelism and Distribution in Haskell

2010-09-06 Thread Mathew de Detrich
*Mistake, in where I said majority of Haskell programs were pure I meant majority of code in Haskell programs was pure On Tue, Sep 7, 2010 at 11:07 AM, Mathew de Detrich dete...@gmail.comwrote: Before Haskell took off with parallelism, it was assumed that Haskell would be trivial to run

Re: [Haskell-cafe] circular imports

2010-09-06 Thread Mathew de Detrich
I had the same issue zonks ago, and I resorted to using the hs-boot file method as well (which worked fine) Which I guess brings me to my second point, is this something that GHC should do automatically when it sees circular dependencies? When I asked about it earlier on #haskell, I was told that

Re: [Haskell-cafe] help me evangelize haskell.

2010-09-05 Thread Mathew de Detrich
If they are perl programmers, they (should) understand perl very well. I would suggest to try explaining to them the obvious disadvantages of perl and the way that Haskell can cover those disadvantages without (much) of a compromise. Perl programs are either ones that are ridiculously

Re: [Haskell-cafe] Re: Hackage on Linux

2010-08-29 Thread Mathew de Detrich
Isn't there a binary for Leksah on the main site for windows anyways? On 29/08/2010 10:24 PM, Hamish Mackenzie hamish.k.macken...@googlemail.com wrote: On 28 Aug 2010, at 04:58, Andrew Coppin wrote: Mathew de Detrich wrote: There is also Leksah a... I am not familiar with that Leksah

Re: [Haskell-cafe] Re: Hackage on Linux

2010-08-27 Thread Mathew de Detrich
I agree with this comment in regards to cabal building binaries for similar reasons that John Macheam is. Cabal is fine for libraries (in fact I can classify it as pretty damn good) but for binaries it is a different matter for programs that don't use a simple build system/structure. Cabal is just

Re: [Haskell-cafe] Re: Hackage on Linux

2010-08-27 Thread Mathew de Detrich
There is also Leksah and GVim On Fri, Aug 27, 2010 at 2:14 PM, C. McCann c...@uptoisomorphism.net wrote: On Fri, Aug 27, 2010 at 7:40 AM, Andrew Coppin andrewcop...@btinternet.com wrote: Unfortunately, I haven't found anything for Windows yet which has syntax hilighting for Haskell. I

Re: [Haskell-cafe] Warning: Module `Prelude' is deprecated:

2010-08-26 Thread Mathew de Detrich
As said, this is an issue with the package maintainer who explicitly used base 3.0 as a dependancy I believe that base 3 is gonna be killed in ghc 6.14 iirc On 27/08/2010 10:17 AM, Michael Litchard mich...@schmong.org wrote: So lately when I use cabal to install something get Text/CSV.hs:1:0:

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
On Tue, Aug 24, 2010 at 5:55 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 August 2010 15:50, Mathew de Detrich dete...@gmail.com wrote: I used to use archlinux packages however it became a pain for the following reasons - packages on archlinux don't auto update when

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
On Wed, Aug 25, 2010 at 12:07 PM, Alexander Solla a...@2piix.com wrote: On Aug 22, 2010, at 3:41 AM, Andrew Coppin wrote: It looks as if it's automated for Arch, however. Either that or somebody is spending an absurd amount of time keeping it manually up to date. It probably is

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
, Mathew de Detrich dete...@gmail.com wrote: Thanks for clearing the stuff up. The issue is Ivan, that the archlinux aur packages are auto generated (even the official ones). The only packages that I believe were ever done by hand was gt2hs (old gtk version) and since its changed to gtk

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
Oh thanks 3 On Wed, Aug 25, 2010 at 3:21 PM, Magnus Therning mag...@therning.orgwrote: On 25/08/10 06:18, Mathew de Detrich wrote: [...] If people just wanted an auto udpate version of cabal that works through arch's package management, then there should have just been a pacman wrapper

Re: [Haskell-cafe] Hackage on Linux

2010-08-23 Thread Mathew de Detrich
I used to use archlinux packages however it became a pain for the following reasons - packages on archlinux don't auto update when cabal does. This becomes really annoying when package X gets updated on cabal but not on arch and causes conflicts with other packages - in some situations doing a

Re: [Haskell-cafe] A cabal odyssey

2010-08-22 Thread Mathew de Detrich
What haskell really needs is a big ' hit' where someone shows how powerful haskell is in some environment. Ruby had RoR, which is what splurged the language into the open On 22/08/2010 3:46 PM, wren ng thornton w...@freegeek.org wrote: Daniel Fischer wrote: On Saturday 21 August 2010

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-10 Thread Mathew de Detrich
(not a linux app compiled for ARM) needs to link with Java to interface with Android On Tue, Aug 10, 2010 at 8:21 PM, Karel Gardas karel.gar...@centrum.czwrote: On 08/08/10 03:08, Mathew de Detrich wrote: Well the other issue is of course that Android being available on a wide variety of phones

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Mathew de Detrich
Well the other issue is of course that Android being available on a wide variety of phones, not all of which run ARM (the phone I am about to get for example has a custom built CPU), although I guess one could use a generic ASM branch for mobile devices (if one exists). btw the phone I am about to

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Mathew de Detrich
on a device, it's almost certainly going to be Intel, these days. Sure, Android doesn't specify that this has to be the case, but realistically, it will be. On Sun, Aug 8, 2010 at 3:08 AM, Mathew de Detrich dete...@gmail.comwrote: Well the other issue is of course that Android being available