Re: HP 2015.2.0.0 and GHC 7.10

2015-03-23 Thread Miëtek Bak
Hi Austin, Can you add Mark’s OS X bindists to https://downloads.haskell.org/~ghc/, please? 7.10.1-rc2: http://www.ozonehouse.com/mark/platform/ghc-7.10.0.20150123-x86_64-apple-darwin.tar.bz2 (404) https://halcyon.global.ssl.fastly.net/original/ghc-7.10.0.20150123-x86_64-apple-darwin.tar.bz2

RE: Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Simon Peyton Jones
We don’t put API changes in minor releases, only bugfixes. I think you’d be better arguing for an early release of 7.12. Which might be a fine thing Simon From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Michael Snoyman Sent: 23 March 2015 11:49 To: ghc-devs@haskell.org

Re: HP 2015.2.0.0 and GHC 7.10

2015-03-23 Thread Carter Schonwald
Hey mark, How do you get the ghc docs built successfully on os x? I've tried to replicate you buildsteps but docbook hits a failure when tryingto download some remote file. Many thanks On Mar 22, 2015 10:13 PM, Mark Lentczner mark.lentcz...@gmail.com wrote: I've gone ahead and built a very

Re: wither the Platform

2015-03-23 Thread Christopher Done
On 23 March 2015 at 15:01, Mark Lentczner mark.lentcz...@gmail.com wrote: On Mon, Mar 23, 2015 at 3:01 AM, Simon Peyton Jones simo...@microsoft.com wrote: Like Richard, I was astonished by this. I always thought that the Haskell Platform was the route of choice to install GHC, together with

Re: [haskell-infrastructure] wither the Platform

2015-03-23 Thread Mark Lentczner
On Mon, Mar 23, 2015 at 7:27 AM, Gershom B gersh...@gmail.com wrote: I thought the current language on the page was rather balanced? It leads any user away from the Platfrom: - From the homepage - Downloads from the top bar - First links are three OS links, click any one -

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Johan Tibell
On Mon, Mar 23, 2015 at 9:45 AM, Simon Peyton Jones simo...@microsoft.com wrote: But time has passed and it hasn't happened. Is this because I'm misunderstanding? Or because it is harder than I think? Or because there are much bigger problems? Or because there is insufficient effort

Re: wither the Platform

2015-03-23 Thread Richard Eisenberg
On Mar 23, 2015, at 10:58 AM, Christopher Done chrisd...@gmail.com wrote: Someone added this text: Many now recommend just using a bare compiler combined with sandboxed dependencies, especially for new users. However, others prefer to start with the curated blessed set of packages in

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Michael Snoyman
On Mon, Mar 23, 2015 at 11:53 AM Simon Peyton Jones simo...@microsoft.com wrote: It's already a huge source of confusion for people using GHCi what they get messages about ByteString is not ByteString. Reading your blog post [1] it seems that we are addressing different questions: ·

Re: [haskell-infrastructure] wither the Platform

2015-03-23 Thread Gershom B
On March 23, 2015 at 10:02:11 AM, Mark Lentczner (mark.lentcz...@gmail.com) wrote: I do too...! But follow the new Haskell.org pages like you are a user just want to install Haskell... you'll never end up with the Platform. It looks like the Platform deprecated on the Haskell.org site for

Re: HP 2015.2.0.0 and GHC 7.10

2015-03-23 Thread Miëtek Bak
I’m asking because until these archives appear on haskell.org, your server is the closest to a canonical location. Halcyon references the canonical locations of GHC and cabal-install archives, in case a cautious user doesn’t want to use the builds I’ve prepared:

OS X builds of GHC 7.8.4, 7.10.1-rc2, and 7.10.1-rc3

2015-03-23 Thread Miëtek Bak
An OS X build of GHC 7.10.1-rc3 is now available, courtesy of Mark Lentczner. This is in addition to the GHC 7.8.4 and 7.10.1-rc2 builds Mark has made available on February 2. Thanks, Mark. GHC 7.8.4 for OS X can already be downloaded from haskell.org, even though it’s not mentioned on the

Re: wither the Platform

2015-03-23 Thread Mark Lentczner
On Mon, Mar 23, 2015 at 3:20 AM, Thomas Miedema thomasmied...@gmail.com wrote: From the downloads https://www.haskell.org/ghc/download_ghc_7_8_4 page on the GHC homepage: Alas, that warning has never been effective. But it is moot anyway: Start from the shiny Haskell.org page and see where

Re: HP 2015.2.0.0 and GHC 7.10

2015-03-23 Thread Mark Lentczner
On Mon, Mar 23, 2015 at 5:22 AM, Miëtek Bak mie...@bak.io wrote: Could you restore the OS X GHC 7.10.1-rc2 bindist? Didn't think anyone would want it now that we have RC3... I don't have it on the server anymore, but see you have it mirrored. Hashes are:

Re: wither the Platform

2015-03-23 Thread Michael Snoyman
On Mon, Mar 23, 2015 at 5:21 PM Brandon Allbery allber...@gmail.com wrote: On Mon, Mar 23, 2015 at 11:19 AM, Richard Eisenberg e...@cis.upenn.edu wrote: - It's always out-of-date. This statement, while true, isn't a direct indication that something is wrong. Perception is reality. The

RE: Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
I have no idea what the status of this is or if GHC indeed has all the things we need. Perhaps Edward could comment. I’m pretty confident that GHC has all the things needed, and has done since last summer. It’s Cabal that doesn’t! But as you say, Edward Y can confirm. Simon From: Johan

Re: wither the Platform

2015-03-23 Thread Miëtek Bak
On 2015-03-22, at 15:59, Michael Snoyman mich...@snoyman.com wrote: 2. A method for installing GHC and build tools. I personally think that it makes sense to separate out this aspect of the platform from all others. MinGHC is an example of such a project: a minimal set of functionality for

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
But I'm hazy about why sandboxes are needed at all. As I understand it, they were invented to solve the very problem that is now solved (if only Cabal could take advantage of it). Simon From: Gershom B gersh...@gmail.com Sent: 23 March 2015 17:31 To:

RE: Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
If I'm reading this correctly, the proposal then would be to have cabal automatically hide packages (as oppose to unregister them) to arrive at a world where all exposed packages are consistent. Extrapolating for the case you mention above * if I installed P and then Q, I'd end up with

Re: wither the Platform

2015-03-23 Thread Thomas Miedema
From the downloads https://www.haskell.org/ghc/download_ghc_7_8_4 page on the GHC homepage: Version 7.8.4 (released December 23rd 2014) Stop! For most users, we recommend installing the Haskell Platform http://hackage.haskell.org/platform/ instead of GHC. The current Haskell Platform release

Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
Dear Cabal developers You'll probably have seen the thread about the Haskell Platform. Among other things, this point arose: | Another thing we should fix is the (now false) impression that HP gets in | the way of installing other packages and versions due to cabal hell. People mean

RE: wither the Platform

2015-03-23 Thread Simon Peyton Jones
I notice that in the new Haskell pages, the Platform is definitely not the recommended way to go: Like Richard, I was astonished by this. I always thought that the Haskell Platform was the route of choice to install GHC, together with a respectable set of libraries. It’s certainly what I

Re: wither the Platform

2015-03-23 Thread Neil Mitchell
Nowadays I use https://github.com/fpco/minghc which can actually install network, and I've had zero problems. Can we just include this fix into the platform installers? Yes. MinGHC was an experiment in seeing if we could do a Windows installer that worked with Network. We can, so the platform

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Duncan Coutts
On Mon, 2015-03-23 at 20:13 +, Simon Peyton Jones wrote: But I'm hazy about why sandboxes are needed at all. As I understand it, they were invented to solve the very problem that is now solved (if only Cabal could take advantage of it). Yes, the nix approach would subsume sandboxes. I

Re: wither the Platform

2015-03-23 Thread Duncan Coutts
On Sun, 2015-03-22 at 09:17 +, Neil Mitchell wrote: On Windows, the reason I used to use the Platform was that it came with an installed network library, and installing the network library on Windows is a real pain (and often fails). Unfortunately it was incredibly brittle, a single

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Duncan Coutts
On Mon, 2015-03-23 at 08:45 +, Simon Peyton Jones wrote: Dear Cabal developers You'll probably have seen the thread about the Haskell Platform. Among other things, this point arose: | Another thing we should fix is the (now false) impression that HP gets in | the way of installing

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Gershom B
On Mon, Mar 23, 2015 at 4:45 AM, Simon Peyton Jones simo...@microsoft.com wrote: | Another thing we should fix is the (now false) impression that HP gets in | the way of installing other packages and versions due to cabal hell. People mean different things by cabal hell, but the inability

Re: [haskell-infrastructure] wither the Platform

2015-03-23 Thread Gershom B
On Mon, Mar 23, 2015 at 11:20 AM, Anthony Cowley acow...@gmail.com wrote: I don't understand this attitude. You say that neither new users nor package authors agree with your stance on the HP, so you want to force their hands. Presumably package authors know what they're doing for themselves,

Re: wither the Platform

2015-03-23 Thread Nathan Bouscal
Richard: The problem isn't the age itself, but rather the compatibility problems that age introduces. It can be quite difficult as a new user to get all of the libraries you want to use to play well with the platform. There's usually a way to make it work if you know what you're doing, but the

Re: Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Austin Seipp
Hi Michael, I actually tried to adopt this patch into 7.10, because I thought it was needed for another dependent patch we wanted. Unfortunately, the backtrace-via-implicit-params patch seems to depend on some prior work by Simon PJ in the typechecker (-fwarn-redundant-constraints, a rather large

Re: [haskell-infrastructure] wither the Platform

2015-03-23 Thread Miëtek Bak
On 2015-03-23, at 18:13, Andrew Farmer afar...@ittc.ku.edu wrote: I personally just download the latest bindist from the GHC site and bootstrap cabal myself. Partly this is because my work requires me to have the latest GHC, so maybe I'm not in the HP's target demographic. That said, I would

Re: [haskell-infrastructure] wither the Platform

2015-03-23 Thread Anthony Cowley
On Mar 23, 2015, at 1:19 PM, Gershom B gersh...@gmail.com wrote: On Mon, Mar 23, 2015 at 11:20 AM, Anthony Cowley acow...@gmail.com wrote: I don't understand this attitude. You say that neither new users nor package authors agree with your stance on the HP, so you want to force their

Re: [haskell-infrastructure] wither the Platform

2015-03-23 Thread Andrew Farmer
I think the fact that we now have these minimal installers floating around is evidence that there is demand for that. I personally just download the latest bindist from the GHC site and bootstrap cabal myself. Partly this is because my work requires me to have the latest GHC, so maybe I'm not in

Re: Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Eric Seidel
IIRC the patch doesn't directly depend on -fwarn-redundant-constraints, but I think I ran into some merge conflicts that had to be resolved. I agree with Austin that backporting it should be doable, and would be happy to help if there's interest. Also, I still mean to submit a follow-on patch

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Duncan Coutts
On Mon, 2015-03-23 at 22:10 +, Duncan Coutts wrote: On Mon, 2015-03-23 at 20:13 +, Simon Peyton Jones wrote: But I'm hazy about why sandboxes are needed at all. As I understand it, they were invented to solve the very problem that is now solved (if only Cabal could take advantage

Re: wither the Platform

2015-03-23 Thread Duncan Coutts
On Sat, 2015-03-21 at 10:54 -0700, Mark Lentczner wrote: I'm wondering how we are all feeling about the platform these days I notice that in the new Haskell pages, the Platform is definitely not the recommended way to go: The main download pages suggests the compiler and base libraries

hackage statistics

2015-03-23 Thread Meng Wang
Hi All, A few of us are writing a survey of FP and would like to include some statistic graphs of Haskell (similar to those found here:http://galois.com/blog/2009/03/one-million-haskell-downloads/). Does anyone know how I can obtain such data? Thank you very much, Meng

Re: wither the Platform

2015-03-23 Thread davean
I didn't have that problem with Python or Clojure. I didn't run into it with Python until I was building enterprise-class systems. I ran into other issues that made me drop Clojure before I ran into this one. Well, it also was standard python practice to monkey patch the libraries to fix