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 wrote: > On 03/05/2011 02:49, Mathew de Detrich wrote: > >> The best thing that Leksah c

[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' fo

Re: [Haskell-cafe] ANN: Leksah 0.10.0

2011-05-02 Thread Mathew de Detrich
> defined, > what part of functionality Leksah and Yi play, and I guess we will not > reach > something usable this way. > > Jürgen > > On 30 Apr., 11:25, Mathew de Detrich wrote: > > Is there going to be any plans to integrate Yi into Leksah as you > originally >

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 wrote: > 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 > wrote: > >

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

2011-05-02 Thread Mathew de Detrich
ormation that won't necessarily apply to your case. > > Michael > > On Mon, May 2, 2011 at 4:28 PM, Mathew de Detrich > wrote: > > .. > > You tell me this now ;) > > I was actually wanting to look at scaffolding, but the section for it in > the >

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

2011-05-02 Thread Mathew de Detrich
spatch. > > HTH, > Michael > > On Mon, May 2, 2011 at 4:14 PM, Mathew de Detrich > 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 err

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

2011-05-02 Thread Mathew de Detrich
veryone curious: I've also added i18n support to > non-poly Hamlet. I've got a long train ride on Tuesday, and I'm > planning on documenting it then. > > Michael > > On Sun, May 1, 2011 at 6:50 AM, Mathew de Detrich > wrote: > > Ok so I have a problem that was

[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 mor

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)

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 wrote: > Since the site for signing up to haddock mailing list seems to be down ( > http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock) I though

[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 ( http:/

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" wrote: > Personally I gave up on installing haskell packages through AUR, I > pretty much stick to Cabal now. > __

[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 --

[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 p

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 wrote: > > I think the main adv

[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 i

Re: RE: [Haskell-cafe] circular imports

2010-09-07 Thread Mathew de Detrich
7 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 the impression tha

Re: [Haskell-cafe] circular imports

2010-09-06 Thread Mathew de Detrich
nal design decision to encourage "good design". On Tue, Sep 7, 2010 at 6:51 AM, Mathew de Detrich wrote: > > I had the same is... ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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] 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 wrote: > Before Haskell took off with parallelism, it was assumed that Haskell would > be triv

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 using

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

2010-09-06 Thread Mathew de Detrich
I Think you misinterpreted what I said. I didn't say you should tell the programmers how to code, I said you should show the perl coders how Haskell has advantages over pearls without much cost On 06/09/2010 5:21 PM, "Stephen Tetley" wrote: On 6 September 2010 03:46, Mathew de

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 short/concis

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

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 wrote: > On Fri, Aug 27, 2010 at 7:40 AM, Andrew Coppin > wrote: > > Unfortunately, I haven't found anything for Windows yet which has syntax > > hilighting for Haskell. > > > > I use SciTE, which has hilighting for a bazi

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] 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" wrote: So lately when I use cabal to install something get Text/CSV.hs:1:0: Warning: Module

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 wrote: > 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

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
an.miljeno...@gmail.com> wrote: > On 25 August 2010 14:56, Mathew de Detrich 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 bel

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
On Wed, Aug 25, 2010 at 1:59 PM, Ivan Lazar Miljenovic < ivan.miljeno...@gmail.com> wrote: > On 25 August 2010 13:40, Mathew de Detrich wrote: > > It is automated in a manual way =D. By that I mean that there is a script > > which autobuilds packages with cabal2arch, howev

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Mathew de Detrich
On Wed, Aug 25, 2010 at 12:07 PM, Alexander Solla 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 automated. Th

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 wrote: > > I used to use archlinux packages however it became a pain for the > following > > reasons > > > > - packages

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 ge

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" wrote: Daniel Fischer wrote: > > On Saturday 21 August 2010 15:35:08, Ivan Lazar M

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

2010-08-10 Thread Mathew de Detrich
app (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 wrote: > 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 pho

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

2010-08-07 Thread Mathew de Detrich
ill be very beneficial. And if it isn't ARM 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 wrote: > >>

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