<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I think the comments regarding users' proficiency <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">with Chocolatey or PowerShell or whatever are beside the point. The truth is that *nobody* expects that
anyone would need to be familiar with those tools in order to install software on Windows. As an example of what I'm talking about, consider Microsoft Visual Studio. This is a big, complex piece of software. And, obviously, it's an application that's used
by software developers, rather than ordinary end users. During installation, it runs multiple PowerShell and Cmd scripts, and, for all I know, uses Chocolatey under the hood as well. The point is, I don't have to care about any of that. I install it the same
way I install any other software in Windows: I click a few buttons and make a few checkbox selections, and it just runs*.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Asking Windows users to install software in any other way is like telling Linux users that the *only* way they can upgrade to a newer version of Bash is to use a GUI installer.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I understand perfectly well the issue with resource constraints preventing the creation of a better experience for Windows users. That's okay. The same is true for other software (and for porting software in the other direction, too). And I think it's safe
to assume that Microsoft has a few more resources at its disposal to support this than the Haskell community does. So you just need to be honest about it, and state up front that there isn't a simple, seamless way to install the Haskell Platform in Windows
at this time, but if you want to install it anyway, here's what you need to do.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-Steve Schafer</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
*usually</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Haskell-Cafe <haskell-cafe-bounces@haskell.org> on behalf of Ben Gamari <ben@smart-cactus.org><br>
<b>Sent:</b> Sunday, April 26, 2020 10:46 AM<br>
<b>To:</b> Anthony Clayden <anthony_clayden@clear.net.nz>; haskell-cafe@haskell.org <haskell-cafe@haskell.org><br>
<b>Subject:</b> Re: [Haskell-cafe] When did it become so hard to install Haskell onWindows?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Anthony Clayden <anthony_clayden@clear.net.nz> writes:<br>
<br>
...<br>
<br>
>> I would ask anyone who feels that GHC development is exclusionary to please be in<br>
> touch; I am very interested to know how we can improve.<br>
><br>
> I'd like to cite as evidence the survey results Francesco links to:<br>
> I don't think I ever got invited to contribute -- where would that have been?<br>
> There wasn't an invite on the Hugs-users list.<br>
<br>
For what it's worth, there was an invitation to respond to the 2019<br>
State of Haskell Survey was sent to this very list [1]. However, I<br>
believe there was only one such announcement so it is understandable<br>
that it could be missed.<br>
<br>
> Note I don't use Reddit because I'm not a brogrammer.<br>
><br>
> The survey is kinda self-fulfilling: most people don't use GHC on Windows,<br>
> because it's too hard to install.<br>
><br>
Indeed the fact that most of our users use Linux or Darwin poses a<br>
significant challenge for Windows support. We often only learn of<br>
regressions on Windows quite late as a result.<br>
<br>
However, of all of the problems with Windows that we might have, issues<br>
with installation instructions should be avoidable. It sounds like your<br>
primary concern is that we recommend Chocolatey on<br>
<a href="https://haskell.org/platform">https://haskell.org/platform</a> [2]?<br>
<br>
It would be helpful if you could describe what your precise objections<br>
to Chocolatey are; I'll admit I'm not familiar enough with it to know<br>
why someone might prefer to avoid it. I sounds like there may be two<br>
possible reasons:<br>
<br>
* it requires elevated permissions<br>
* it requires PowerShell, which the user may not be familiar with<br>
<br>
The download page [2] is trying to strike a delicate balance: On one<br>
hand we want as few options as possible to avoid confusion; on the other<br>
we do want to be accomodating to user preferences. Perhaps we could<br>
amend the text to say something like:<br>
<br>
The recommended way to get started with Haskell on Windows is by<br>
using using [Chocolatey] to install `ghc` and `cabal-install` (users<br>
not interested in Chocolatey should refer to the [alternate Windows<br>
instructions]). Further details for<br>
Chocolatey usage are available [here].<br>
<br>
Users should follow the instructions at [haskellstack.org] to<br>
install `stack`.<br>
<br>
To get started perform these steps:<br>
<br>
1. Configure [Chocolatey] on your machine.<br>
<br>
2. If upgrading from the old-style `haskell-platform` installer, clean<br>
the cabal configuration by running:<br>
<br>
cabal user-config init -f <br>
<br>
Then uninstall prior versions of the platform. <br>
<br>
3. At an elevated command prompt, run:<br>
<br>
```<br>
choco install haskell-dev<br>
refreshenv<br>
```<br>
<br>
Where [alternate Windows instructions] would describe installation from<br>
a binary distribution. Perhaps this would be an improvement over the<br>
status quo?<br>
<br>
> GHC is exclusionary against casual/recreational Haskellers (who are<br>
> more likely on Windows) and those more interested in using it to<br>
> explore PL Theory.<br>
<br>
This is sad to hear and a trend that we should try hard to suppress. One<br>
of Haskell's greatest strengths is its diversity of users and<br>
contributors.<br>
<br>
Cheers,<br>
<br>
- Ben<br>
<br>
<br>
[1] <a href="https://mail.haskell.org/pipermail/haskell-cafe/2019-November/131633.html">
https://mail.haskell.org/pipermail/haskell-cafe/2019-November/131633.html</a><br>
[2] <a href="https://www.haskell.org/platform/windows.html#windows">https://www.haskell.org/platform/windows.html#windows</a><br>
</div>
</span></font></div>
</body>
</html>