Re: [Haskell-cafe] portable arrow instances

2008-11-20 Thread Conal Elliott
Done! Thanks for the suggestion. - Conal On Wed, Nov 19, 2008 at 9:43 PM, Don Stewart <[EMAIL PROTECTED]> wrote: > Could you add this info/link to the upgrading page? > >http://www.haskell.org/haskellwiki/Upgrading_packages#Arrow_instances>, > > Using social/community processes to paralleli

Re: [Haskell-cafe] Possible issue with Hoogle and Haddock?

2008-11-20 Thread Ian Lynagh
On Thu, Nov 20, 2008 at 02:25:25PM -0500, Stephen Hicks wrote: > > I was noticing recently that there seems to be a problem with Hoogle > and Haddock. In particular, I just hoogled "bracket" and got the > following result: > bracket :: IO a -> a -> IO b -> a -> IO c -> IO c > Clearly this is

Re: [Haskell-cafe] Hackage policy question

2008-11-20 Thread John Meacham
On Thu, Nov 20, 2008 at 06:48:47PM +, Duncan Coutts wrote: > > yeah, but then we have the odd case of things like frisby 0.9.0 and > > 0.9.0.1 both floating about, where the second is actually just the > > cabalized version of the first, and not an actual version. it gets even > > more complica

[Haskell-cafe] Re: Problem with GTK on OS X -- installed from source

2008-11-20 Thread Jeff Heard
Here we go again. App finally linked, but then I get this error: jeff-heards-macbook:IlluminateGL jeff$ ./Illuminate dyld: lazy symbol binding failed: Symbol not found: _glXQueryExtension Referenced from: /opt/local/lib/libgdkglext-x11-1.0.0.dylib Expected in: flat namespace dyld: Symbol not

Re: [Haskell-cafe] Re: Begginer question about alignment in Storable

2008-11-20 Thread Michael D. Adams
On Thu, Nov 20, 2008 at 11:26 AM, Mauricio <[EMAIL PROTECTED]> wrote: >> (...) But the major advantage of hsc2hs is that if your C >> struct changes or you use a different C compiler, the allignment >> and size as well as the offsets used in peek and poke will still >> be correct since the c

[Haskell-cafe] Possible issue with Hoogle and Haddock?

2008-11-20 Thread Stephen Hicks
Hi, I was noticing recently that there seems to be a problem with Hoogle and Haddock. In particular, I just hoogled "bracket" and got the following result: bracket :: IO a -> a -> IO b -> a -> IO c -> IO c Clearly this is the wrong type, as it should be bracket :: IO a -> (a -> IO

[Haskell-cafe] Problem with GTK on OS X -- installed from source

2008-11-20 Thread Jeff Heard
Building my app with gtk2hs, I get the following error when I try to compile a file that uses Template Haskell (I'm not using TH to do anythign with GTK, but it loads the package anyway) Loading package gtk-0.9.13 ... : can't load .so/.DLL for: gthread-2.0 (dlopen(libgthread-2.0.dylib, 10): image

Re: [Haskell-cafe] Hackage policy question

2008-11-20 Thread Duncan Coutts
On Thu, 2008-11-20 at 05:56 -0800, John Meacham wrote: > On Thu, Nov 20, 2008 at 12:56:31PM +, Duncan Coutts wrote: > > On Thu, 2008-11-20 at 04:06 -0800, John Meacham wrote: > > > Well, my main concern is that I have projects that have several > > > distribution formats, tarball, rpm, deb, and

Re: [Haskell-cafe] Haskell Reddit

2008-11-20 Thread Don Stewart
lionel: > AFAIK, there are two public on this haskell reddit : haskeller and > curious about haskelle (evolving pythonneers ?). Yes, I agree with that assessment. It is a way to interact with the "Haskell-curious". > So anything goes. > > (Don : you post a lot. Is that part of your morning ro

[Haskell-cafe] Re: [Haskell] ANNOUNCE: Haddock version 2.4.0

2008-11-20 Thread Simon Marlow
David Waern wrote: 2008/11/6 Wolfgang Jeltsch <[EMAIL PROTECTED]>: Am Donnerstag, 6. November 2008 00:21 schrieb David Waern: * Add framed view of the HTML documentation After many years with many people telling us that frames are bad, you add frame support to Haddock? Hmm. You should dis

[Haskell-cafe] Re: Begginer question about alignment in Storable

2008-11-20 Thread Mauricio
> (...) But the major advantage of hsc2hs is that if your C > struct changes or you use a different C compiler, the allignment > and size as well as the offsets used in peek and poke will still > be correct since the compiler will calculate it for you. (...) > > And you wanted to write a

Re: [Haskell-cafe] Re: Begginer question about alignment in Storable

2008-11-20 Thread Michael D. Adams
On Wed, Nov 19, 2008 at 1:01 PM, Mauricio <[EMAIL PROTECTED]> wrote: >> If you are using hsc2hs (if you are using Cabal this is easy; just >> rename the file to *.hsc and Cabal will take care of the rest), then >> there is a macro for making this easier and so you don't have to think >> about it. (

Re: [Haskell-cafe] Hackage policy question

2008-11-20 Thread John Meacham
On Thu, Nov 20, 2008 at 12:56:31PM +, Duncan Coutts wrote: > On Thu, 2008-11-20 at 04:06 -0800, John Meacham wrote: > > Well, my main concern is that I have projects that have several > > distribution formats, tarball, rpm, deb, and hopefully hackage > > (alongside the others as equals). I don'

Re: [Haskell-cafe] Hackage policy question

2008-11-20 Thread Duncan Coutts
On Thu, 2008-11-20 at 04:06 -0800, John Meacham wrote: > Well, my main concern is that I have projects that have several > distribution formats, tarball, rpm, deb, and hopefully hackage > (alongside the others as equals). I don't want the version numbers to > get out of sync though, just because I

Re: [Haskell-cafe] Hackage policy question

2008-11-20 Thread John Meacham
Well, my main concern is that I have projects that have several distribution formats, tarball, rpm, deb, and hopefully hackage (alongside the others as equals). I don't want the version numbers to get out of sync though, just because I have to reroll the hackage, or rpm, or whatever release, I don'

Re: [Haskell-cafe] GHC 6.10.1 and cabal[-install]

2008-11-20 Thread Duncan Coutts
On Thu, 2008-11-20 at 11:03 +, Duncan Coutts wrote: > On Wed, 2008-11-19 at 10:28 +0100, Wolfgang Jeltsch wrote: > > > The cabal user guide lists the default install directories for global > > > and user installs. > > > > Okay, I looked at the cabal-install docs. And the only doc seems to be

Re: [Haskell-cafe] Cabal and more than one version

2008-11-20 Thread Duncan Coutts
On Wed, 2008-11-19 at 02:15 -0800, Jason Dusek wrote: > Duncan Coutts <[EMAIL PROTECTED]> wrote: > > Jason Dusek wrote: > > > In the ticket, someone says: > > > > > > True though I suspect it looks a bit weird to the > > > uninitiated. We know to read the conditional syntax as an > > > implicati

Re: [Haskell-cafe] GHC 6.10.1 and cabal[-install]

2008-11-20 Thread Duncan Coutts
On Wed, 2008-11-19 at 10:28 +0100, Wolfgang Jeltsch wrote: > Am Dienstag, 18. November 2008 22:24 schrieben Sie: > > > > How do I install and configure it so that it is integrated best with > > > > GHC 6.10.1? For example, should cabal use some directory in the GHC > > > > tree to place compiled p

Re: [Haskell-cafe] GHC 6.10.1 and cabal[-install]

2008-11-20 Thread Duncan Coutts
On Thu, 2008-11-20 at 10:41 +1300, Daniel McAllansmith wrote: > On Wed, 19 Nov 2008 21:27:36 Duncan Coutts wrote: > > It's even easier than that! Someone has done it already :-) > > > > http://hackage.haskell.org/trac/hackage/ticket/261 > > > > Thu Aug 28 16:55:16 CEST 2008 Chry Cheng <[EMAIL PROT

Re: [Haskell-cafe] Hackage policy question

2008-11-20 Thread Duncan Coutts
On Wed, 2008-11-19 at 20:25 -0800, John Meacham wrote: > The usual solution to this is the 'release version', which is used in > most (all?) other packaging systems. namely, you have foo-1.2-4, where 4 is > the > release version which documents what version the meta-info is. For > instance, when b

Re: [Haskell-cafe] Haskell Reddit

2008-11-20 Thread Lionel Barret De Nazaris
AFAIK, there are two public on this haskell reddit : haskeller and curious about haskelle (evolving pythonneers ?). So anything goes. (Don : you post a lot. Is that part of your morning routine ?) L. Don Stewart wrote: I'm not sure if the cafe@ knows this, but there's a bit of a Haskell comm

Re: [Haskell-cafe] (OT) Has GHC stopped being the "Glorious" Glasgow Haskell Compiler?

2008-11-20 Thread Pekka Karjalainen
On Thu, Nov 20, 2008 at 6:26 AM, Benjamin L.Russell <[EMAIL PROTECTED]> wrote: > Am I missing something, or has the nickname been changed? Well, 'ghc --version' tells me that I am using "The Glorious Glasgow Haskell Compilation System, version 6.10.1"... ___