[Haskell-cafe] hackage trac broken

2012-01-15 Thread Joachim Breitner
Hi, a Debian user tried to report a bug against cabal-install (http://bugs.debian.org/655752) but the trac instance linked from the Cabal homepage seems to be down: http://hackage.haskell.org/trac/hackage/ Internal Server Error TracError: IOError: [Errno 13] Permission denied: '/srv/trac/hackage

[Haskell-cafe] Installing dph-examples in Mac OS X Version 10.7.2

2012-01-15 Thread mukesh tiwari
Hello all I am trying to install dph-examples on Mac OS X. First I have Xcode 4.2.1 and during the installation i got this error Installing library in /Users/mukesh/.cabal/lib/dph-seq-0.5.1.1/ghc-7.2.1Registering dph-seq-0.5.1.1...Downloading dph-examples-0.5.1.2...Confi

[Haskell-cafe] function composition

2012-01-15 Thread TP
Hi, I have a basic question concerning function composition. I have used http://www.haskell.org/tutorial/functions.html to write a composition function: Prelude> let f°g = f g Prelude> let p = (*2) Prelude> let q = (+3) Prelude> p°q 4 14 Prelude> :t (°) (°) :: (t1 -> t) -> t1 -> t If I understa

Re: [Haskell-cafe] function composition

2012-01-15 Thread Mike Burns
What you've actually defined is function application. Function composition has a different type: (.) :: (b -> c) -> (a -> b) -> a -> c (I'd read this as: compose takes a function from b to c, a function from a to b, and something of type a, and produces a c.) You ran into an order of operatio

Re: [Haskell-cafe] function composition

2012-01-15 Thread Daniel Fischer
On Sunday 15 January 2012, 16:17:24, TP wrote: > Hi, > > I have a basic question concerning function composition. I have used > http://www.haskell.org/tutorial/functions.html > to write a composition function: > > Prelude> let f°g = f g This does not what you probably expect. That definition mea

[Haskell-cafe] SBLP - call for papers

2012-01-15 Thread Simon Thompson
CALL FOR PAPERS 16th BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES Natal, Rio Grande do Norte, Brazil September 24-28, 2012 http://www.cbsoft.dimap.ufrn.br

Re: [Haskell-cafe] hackage trac broken

2012-01-15 Thread Bas van Dijk
On 15 January 2012 12:01, Joachim Breitner wrote: > Is this known and will it be fixed? It was shut down because of massive spamming: http://www.haskell.org/pipermail/cabal-devel/2012-January/008427.html I have no idea who's working on it and when it will be up again. Cheers, Bas ___

[Haskell-cafe] bindings for libvirt

2012-01-15 Thread Michael Litchard
Due to the direction things are going at work, I have become interested in Haskell bindings for libvirt. Noticed that this hasn't been done yet. I was wondering if this was due to lack of motivation, or if there were some difficult hurdles with libvirt that make the project cost-prohibitive. If it'

Re: [Haskell-cafe] hackage trac broken

2012-01-15 Thread Erik de Castro Lopo
Bas van Dijk wrote: > On 15 January 2012 12:01, Joachim Breitner wrote: > > Is this known and will it be fixed? > > It was shut down because of massive spamming: > > http://www.haskell.org/pipermail/cabal-devel/2012-January/008427.html > > I have no idea who's working on it and when it will be

Re: [Haskell-cafe] bindings for libvirt

2012-01-15 Thread Erik de Castro Lopo
Michael Litchard wrote: > Due to the direction things are going at work, I have become > interested in Haskell bindings for libvirt. Noticed that this hasn't > been done yet. Interesting! > I was wondering if this was due to lack of motivation, > or if there were some difficult hurdles with libv

Re: [Haskell-cafe] bindings for libvirt

2012-01-15 Thread Michael Litchard
That's encouraging! On Sun, Jan 15, 2012 at 1:41 PM, Erik de Castro Lopo wrote: > Michael Litchard wrote: > >> Due to the direction things are going at work, I have become >> interested in Haskell bindings for libvirt. Noticed that this hasn't >> been done yet. > > Interesting! > >> I was wonderi

[Haskell-cafe] HaskellWiki upload failed

2012-01-15 Thread Henk-Jan van Tuyl
L.S., I am trying to upload a file of about 12 Mbyte to the HaskellWiki; the upload fails without error message. Is the file too big? Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --

Re: [Haskell-cafe] bindings for libvirt

2012-01-15 Thread Erik de Castro Lopo
Michael Litchard wrote: > That's encouraging! In fact, since FFI bindings are usually easier in GHC Haskell than in Ocaml, you should have it done by the end of the week :-). Cheers, Erik -- -- Erik de Castro Lopo http://www.me

Re: [Haskell-cafe] feed release plan

2012-01-15 Thread Conrad Parker
On 14 January 2012 04:05, Johan Tibell wrote: > On Fri, Jan 13, 2012 at 10:46 AM, Simon Michael wrote: >> Aha, thanks both. >> >> The haskell organisation looks bigger, I think I'd like to upload feed >> there. Could the owner add contact info or a how-to-join note to the page ? > > The Haskell o

[Haskell-cafe] Functor0?

2012-01-15 Thread Evan Laforge
Often when I define some type that wraps something else, I find myself writing a function like the following: newtype Thing = Thing X liftThing f (Thing x) = Thing (f x) It's like a Functor, but I can't make it an instance because Functor requires that the type be parametric. So I've been using

Re: [Haskell-cafe] Functor0?

2012-01-15 Thread Tony Morris
On 01/16/2012 03:26 PM, Evan Laforge wrote: > Often when I define some type that wraps something else, I find myself writing > a function like the following: > > newtype Thing = Thing X > liftThing f (Thing x) = Thing (f x) > > It's like a Functor, but I can't make it an instance because Functor >

Re: [Haskell-cafe] Monad-control rant

2012-01-15 Thread Edward Z. Yang
Hello Mikhail, Sorry, long email. tl;dr I think it makes more sense for throw/catch/mask to be bundled together, and it is the case that splitting these up doesn't address the original issue monad-control was designed to solve. ~ * ~ Anders and I thought a lit