Re: [Haskell-cafe] GHC will not let me install

2009-09-21 Thread David Menendez
On Sun, Sep 20, 2009 at 5:17 PM, Don Stewart d...@galois.com wrote: jmstephens: I am trying to install Xmonad on my Mac. I download GHC installer for mac the .dmg from Haskell.org and when I install it gets stuck here [img]http://www.jmstephens.99k.org/picture.png[/img] As you can see the

Re: [Haskell-cafe] Re: [Hs-Generics] how to automatically create and install documentations of a package?

2009-09-21 Thread Martijn van Steenbergen
Hi Michael, Michael Shulman wrote: Is there a way to make it automatically update a single contents page with links to the documentation of all installed packages? See: http://thread.gmane.org/gmane.comp.lang.haskell.cafe/53531/focus=53560

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-21 Thread Conor McBride
On 20 Sep 2009, at 23:11, Jason Dusek wrote: Some day, we're going to need a short, catchy name for Cabal packages. Let's call them cabbages. Not that this is a good reason to change your mind, but some sufficiently ancient Brits may remember a televisual entertainment programme in which

[Haskell-cafe] Re: Cabal packages - cabbages

2009-09-21 Thread Jon Fairbairn
Conor McBride co...@strictlypositive.org writes: On 20 Sep 2009, at 23:11, Jason Dusek wrote: Some day, we're going to need a short, catchy name for Cabal packages. Let's call them cabbages. Not that this is a good reason to change your mind, but some sufficiently ancient Brits may

Re: [Haskell-cafe] Re: Cabal packages - cabbages

2009-09-21 Thread Conor McBride
Hi Jón On 21 Sep 2009, at 10:23, Jon Fairbairn wrote: Conor McBride co...@strictlypositive.org writes: On 20 Sep 2009, at 23:11, Jason Dusek wrote: Some day, we're going to need a short, catchy name for Cabal packages. Let's call them cabbages. Not that this is a good reason to change

Re: [Haskell-cafe] Re: Cabal packages - cabbages

2009-09-21 Thread Stephan Friedrichs
Jon Fairbairn wrote: Conor McBride co...@strictlypositive.org writes: On 20 Sep 2009, at 23:11, Jason Dusek wrote: Some day, we're going to need a short, catchy name for Cabal packages. Let's call them cabbages. Not that this is a good reason to change your mind, but some sufficiently

[Haskell-cafe] Multiple-selection formlet?

2009-09-21 Thread Colin Adams
I can't work out how to get multiple selections delivered from a formlet. I can add the multiple attribute to get the formlet to allow the user to make multiple selections, but I only get a single answer back. This seems inevitable from the type of rawSelect (or select) - since the list of values

[Haskell-cafe] line intersection code

2009-09-21 Thread staafmeister
Hi, I wrote a O(n log n) line segment intersection code. Couple of questions 1) I did not find such a library on hackage (at least google gave no results:)), and I notice a lot of people submit packages. Would there be any interest to submit this code (would give incentive to make the code

Re: [Haskell-cafe] line intersection code

2009-09-21 Thread Eugene Kirpichov
1) I didn't find one, either :) I Ctrl+F-ed hackage for geometry, segment and range. 2) btw, that's yet another good reason to have reified typeclass dictionaries. I wonder why Haskell does not support them yet. Looks like http://hackage.haskell.org/package/AvlTree might fit your need, or

Re: [Haskell-cafe] Haskell Weekly News: Issue 131 - September 19, 2009

2009-09-21 Thread Brent Yorgey
On Sun, Sep 20, 2009 at 03:11:04PM -0400, Joe Fredette wrote: Ahh, I found the issue. I generated this on the 18th, the software makes files of the form yearmonthdate.ext, so when Brent uploaded the hwn for me, the link it generates is to the date it was generated on, not the date it was

[Haskell-cafe] Re: line intersection code

2009-09-21 Thread Neal Alexander
staafmeister wrote: Hi, I wrote a O(n log n) line segment intersection code. Couple of questions 1) I did not find such a library on hackage (at least google gave no results:)), and I notice a lot of people submit packages. Would there be any interest to submit this code (would give

Re: [Haskell-cafe] line intersection code

2009-09-21 Thread Casey Hawthorne
Posting small packages like that on Hackage is a good way for others to learn Haskell. Is a record kept of suggested changes on Hackage? -- Regards, Casey ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Andrew Coppin
Andrew Coppin wrote: C:\com-1.2.3runhaskell Setup configure Configuring com-1.2.3... Setup: Missing dependencies on foreign libraries: * Missing header file: include/WideStringSrc.h * Missing C libraries: kernel32, user32, ole32, oleaut32, advapi32 Any hints? Maybe I should try the method

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Don Stewart
andrewcoppin: Andrew Coppin wrote: C:\com-1.2.3runhaskell Setup configure Configuring com-1.2.3... Setup: Missing dependencies on foreign libraries: * Missing header file: include/WideStringSrc.h * Missing C libraries: kernel32, user32, ole32, oleaut32, advapi32 Any hints? Maybe I should

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Andrew Coppin
Don Stewart wrote: andrewcoppin: Andrew Coppin wrote: C:\com-1.2.3runhaskell Setup configure Configuring com-1.2.3... Setup: Missing dependencies on foreign libraries: * Missing header file: include/WideStringSrc.h * Missing C libraries: kernel32, user32, ole32, oleaut32, advapi32 Any

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Don Stewart
andrewcoppin: Don Stewart wrote: andrewcoppin: Andrew Coppin wrote: C:\com-1.2.3runhaskell Setup configure Configuring com-1.2.3... Setup: Missing dependencies on foreign libraries: * Missing header file: include/WideStringSrc.h * Missing C libraries: kernel32, user32, ole32,

[Haskell-cafe] Re: Suggested additions to System.FilePath.Posix/Windows

2009-09-21 Thread Marcus D. Gabriel
Simon Marlow wrote: Brandon S. Allbery KF8NH wrote: On Sep 19, 2009, at 07:45 , Duncan Coutts wrote: On Thu, 2009-09-17 at 11:58 +0200, Marcus D. Gabriel wrote: -- | 'reduceFilePath' returns a pathname that is reduced to canonical -- form equivalent to that of ksh(1), that is, symbolic link

[Haskell-cafe] readline does not work on gentoo amd64 (ghc-6.10.4)

2009-09-21 Thread Sergei Trofimovich
Hi, dear list! librar...@haskell.org treats me as a spammer, so I'm writing here. Today I've stuck with following problems: 1. After recent readline upgrade (5 - 6) in my distro I got unbuildable lambdabot. After investigating a little I've noticed I'm having broken readline:

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Andrew Coppin
Don Stewart wrote: andrewcoppin: Don Stewart wrote: Have you tried installing the C libraries it requests? kernel32.dll, user32.dll, etc. are all standard DLL files present in C:\WINDOWS\system32. I was hoping that saying --extra-lib-dirs=C:\WINDOWS\system32 like the

[Haskell-cafe] Problem with type families

2009-09-21 Thread Victor Nazarov
I've tried to reimplement code presented in the following blog post: http://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/ But I've got stuck with the following error: Triangulable.hs:41:8: `addRows' is not a (visible) method of class `Triangulable'

Re: [Haskell-cafe] Problem with type families

2009-09-21 Thread Daniel Fischer
Am Montag 21 September 2009 23:15:48 schrieb Victor Nazarov: I've tried to reimplement code presented in the following blog post: http://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/ But I've got stuck with the following error: Triangulable.hs:41:8: `addRows' is

Re: [Haskell-cafe] Problem with type families

2009-09-21 Thread Victor Nazarov
On Tue, Sep 22, 2009 at 1:31 AM, Daniel Fischer daniel.is.fisc...@web.de wrote: Am Montag 21 September 2009 23:15:48 schrieb Victor Nazarov: I've tried to reimplement code presented in the following blog post: http://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/ But