Re: [Haskell-cafe] How to cabal fetch mtl==2.0.0.0?

2010-11-28 Thread Henning Thielemann
Bas van Dijk schrieb: > On Fri, Nov 26, 2010 at 12:48 AM, Ross Paterson wrote: >> On Fri, Nov 26, 2010 at 12:24:26AM +0100, Bas van Dijk wrote: >>> Maybe it helps if special-functors gets an upper bound on its mtl >>> dependency: mtl < 2. >> It should have mtl < 1.1.1.0, because that version lacks

Re: [Haskell-cafe] Load testing

2010-11-28 Thread Christopher Done
Apache benchmark - ab http://httpd.apache.org/docs/2.0/programs/ab.html On 29 November 2010 02:23, Tony Morris wrote: > Does there exist a package for convenient load-testing against a > website? e.g. making lots of HTTP requests against a server, including > timing, and collecting the results?

Re: [Haskell-cafe] DPH and GHC 7.0.1

2010-11-28 Thread Manuel M T Chakravarty
Andrew Coppin: > On 19/11/2010 11:39 PM, David Peixotto wrote: >> There were some problems getting DPH to work well with the changes in GHC 7. >> There is more info in this mail: >> >> http://www.haskell.org/pipermail/cvs-ghc/2010-November/057574.html >> >> The short summary is that there will b

[Haskell-cafe] Load testing

2010-11-28 Thread Tony Morris
Does there exist a package for convenient load-testing against a website? e.g. making lots of HTTP requests against a server, including timing, and collecting the results? -- Tony Morris http://tmorris.net/ ___ Haskell-Cafe mailing list Haskell-Cafe@h

Re: [Haskell-cafe] Transparent identity instances

2010-11-28 Thread wren ng thornton
On 11/28/10 9:59 AM, Jafet wrote: But GHC does not accept type synonym instances unless they are fully applied. That's precisely the problem, and why a newtype is used. More than GHC implementation details, there's the deeper problem that allowing general type-level functions causes decidabil

Re: [Haskell-cafe] How to cabal fetch mtl==2.0.0.0?

2010-11-28 Thread Iain Alexander
"Albert Y. C. Lai" suggested > cabal fetch mtl-2.0.0.0 C:\Documents and Settings\Iain Alexander>cabal fetch mtl-2.0.0.0 Resolving dependencies... cabal: internal error: could not construct a valid install plan. The proposed (invalid) plan contained the following problems: The following packages a

Re: [Haskell-cafe] How to cabal fetch mtl==2.0.0.0?

2010-11-28 Thread Iain Alexander
On 26 Nov 2010 at 0:24, Bas van Dijk wrote: > BTW what is you ghc --version? I have several versions available, but the one on the path at the time was probably either 6.4.1 or 6.12.3. -- Iain Alexander i...@stryx.demon.co.uk ___ Haskell-Cafe mai

[Haskell-cafe] Re: [Haskell] haskell.org downtime: Tuesday Nov 30th

2010-11-28 Thread Henning Thielemann
Ian Lynagh schrieb: > We plan to have some haskell.org downtime on Tuesday Nov 30th, while we > migrate to the new server. Is there a simple way for me to get a local copy of the Wiki content? I have contributed to several articles and could rest more easily with a local backup before the server

Re: [Haskell-cafe] Re: Can't install Leksah

2010-11-28 Thread John Obbele
On Sat, Nov 27, 2010 at 10:58:37AM -0500, Albert Y. C. Lai wrote: > On 10-11-27 09:20 AM, jutaro wrote: > >ghc is a package, which exposes Ghc-Api as a library. It gets usually > >installed, when you install Ghc or Haskell platform. As I remeber , it is > >usually in a hidden state, but ghc-pkg lis

Re: [Haskell-cafe] Transparent identity instances

2010-11-28 Thread Erik Hesselink
On Sun, Nov 28, 2010 at 15:59, Jafet wrote: > But using this instance becomes unwieldy. If using Identity was > transparent, eg. if it was a type synonym > >> {-# LANGUAGE TypeSynonymInstances #-} >> type Identity a = a >> instance Applicative Identity where >>   -- something like >>   pure a = a

Re: [Haskell-cafe] Manatee Video.

2010-11-28 Thread Christopher Done
In other words, just remove the owl city track. On 28 November 2010 18:21, Florian Weimer wrote: > * Andy Stewart: > > > Many people ask "What's Manatee?" > > > > A video worth a thousand words : > > here is video (select 720p HD) > > http://www.youtube.com/watch?v=weS6zys3U8k > > Ahem: > > | T

Re: [Haskell-cafe] Manatee Video.

2010-11-28 Thread Florian Weimer
* Andy Stewart: > Many people ask "What's Manatee?" > > A video worth a thousand words : > here is video (select 720p HD) > http://www.youtube.com/watch?v=weS6zys3U8k Ahem: | This video contains content from UMG. It is not available in your | country. _

[Haskell-cafe] Manatee Video.

2010-11-28 Thread Andy Stewart
Hi all, Many people ask "What's Manatee?" A video worth a thousand words : here is video (select 720p HD) http://www.youtube.com/watch?v=weS6zys3U8k And i think the correct answer to "What's Manatee?" should be : Depend on you how to use it. :) Other information look : http://hackage.haskell.o

[Haskell-cafe] Re: ANNOUNCE: iteratee-compress 0.1.2

2010-11-28 Thread Maciej Piechotka
On Sun, 2010-11-28 at 15:24 +, Maciej Piechotka wrote: > Iteratee-compress provides compressing and decompressing enumerators > including flushing. Currently only gzip is provided but at bzip and LZMA > are planned. > > This is bug-fixing release > > Changes from previous version: > - Fix in

[Haskell-cafe] ANNOUNCE: iteratee-parsec 0.0.6

2010-11-28 Thread Maciej Piechotka
Iteratee-parsec is a library which allows to have a parsec (3) parser in Iteratee monad. It contains 2 implementations: - John Lato's on public domain. It is based on monoid and design with short parsers in mind. - Mine on MIT. It is based on single-linked mutable list. It seems to be significantl

[Haskell-cafe] ANNOUNCE: iteratee-compress 0.1.2

2010-11-28 Thread Maciej Piechotka
Iteratee-compress provides compressing and decompressing enumerators including flushing. Currently only gzip is provided but at bzip and LZMA are planned. This is bug-fixing release Changes from previous version: - Fix infinite loop/segfault bug - Fix bug in which part of the output was lost -

[Haskell-cafe] ANNOUNCE: iteratee-compress 0.1.2

2010-11-28 Thread Maciej Piechotka
Iteratee-compress provides compressing and decompressing enumerators including flushing. Currently only gzip is provided but at bzip and LZMA are planned. This is bug-fixing release Changes from previous version: - Fix infinite loop/segfault bug - Fix bug in which part of the output was lost N

[Haskell-cafe] Transparent identity instances

2010-11-28 Thread Jafet
Hi, Does it make sense to declare a transparent identity instance for Functor, Applicative, Monad, etc? For example, I might want to generalize ($) = (<*>) where > ($) :: (a -> b) -> a -> b > (<*>) :: (Functor f) => f (a -> b) -> f a -> f b The traditional definition makes Identity a newtype: >

Re: [Haskell-cafe] Re: Unable to install packages

2010-11-28 Thread Ketil Malde
Joachim Breitner writes: > I would not recommend using --global on Debian/Ubuntu-systems, as it > might interfere with packages installed by Debian. But 'cabal install --global' installs in /usr/local/, does it not? And official packages (i.e. debs) put stuff in /usr, so these would be separate.

[Haskell-cafe] Return stack buffer vs Haskell compilers

2010-11-28 Thread Florian Weimer
Are there any Haskell compilers which use a calling convention which is friendly to return stack buffers found in many modern CPUs? Such a calling convention uses CALL/RET pairs for function calls. Tail calls are implemented with JMP and may require shuffling the stack, including the return addre

[Haskell-cafe] Why does cabal sdist still make tarballs with incorrect file modes?

2010-11-28 Thread John D. Ramsdell
As I played with GHC 7.0.1, I noticed that Cabal sdist is still hosed. Since ten months ago, cabal sdist fails to preserve the file mode bits of the source files put into the tarball being generated (Ticket #627 reported by draconx). An executable shell script and a source file world readable both

Re: [Haskell-cafe] In what language...?

2010-11-28 Thread Florian Weimer
* Andrew Coppin: > On 26/10/2010 07:54 PM, Benedict Eastaugh wrote: >> On 26 October 2010 19:29, Andrew Coppin wrote: >>> I also don't know exactly what "discrete mathematics" actually covers. >> Discrete mathematics is concerned with mathematical structures which >> are discrete, rather than con

Re: [Haskell-cafe] In what language...?

2010-11-28 Thread Florian Weimer
* Gregory Collins: > * Andrew Coppin: >> Hypothesis: The fact that the average Haskeller thinks that this >> kind of dense cryptic material is "pretty garden-variety" notation >> possibly explains why normal people think Haskell is scary. > > That's ridiculous. You're comparing apples to oranges:

Re: [Haskell-cafe] Re: Re: Bulletproof resource management

2010-11-28 Thread Florian Weimer
* Ben Franksen: >> The other library might provide something like IORef, and then >> it's impossible to uphold static guarantees. > > The way it is implemented for instance in the regions package, you can lift > IO actions into the Region monad, as there are > > instance MonadCatchIO pr => Monad

Re: [Haskell-cafe] Re: Unable to install packages

2010-11-28 Thread Joachim Breitner
Hi, Am Samstag, den 27.11.2010, 21:37 -0800 schrieb Moisei: > At the Leksah website there are instructions for installing it on > Ubuntu. >1. sudo apt-get install cabal-install >2. sudo apt-get install libghc6-zlib-dev >3. cabal update >4. sudo cabal install cabal-install --global

[Haskell-cafe] Re: GHC Out of memory

2010-11-28 Thread John Smith
On 23/11/2010 17:08, Stefan Kersten wrote: i've also noticed this on linux and osx with ghc 6.12.1/6.12.3 and qtHaskell 1.1.3.5/1.1.4. possibly a memory leak in ghc --make? Should I report this as a bug? ___ Haskell-Cafe mailing list Haskell-Cafe@has