Au contraire! GHCUp is the state of the art of installing GHC on any platform. If anyone has trouble with GHCUp, that's a problem for all of us. Besides, GHCUp merely uses the GHC bindists under the hood, so if GHCUp doesn't work because of msys shenanigans, I expect similar pain for GHC itself. Evidence to the contrary would be quite interesting!

These days, newcomers absolutely deserve to have a single tool manage their toolchain, and I shudder to think of the mess new programmers will get in by randomly `make install`ing stuff into standard directories, when they have no concept of "standard directories" in the first place.

I'm also curious about repl.it and similar solutions.

Anyway, to get back to the original question, please do open issues on https://github.com/haskell/ghcup-hs/issues when problems arise. Haskell needs more people with Windows experience to get involved, even just as reporters.

On Thu, 23 Feb 2023 at 03:32, Anthony Clayden <anthony.d.clayden@gmail.com> wrote:
Sigh. As a college educator who is trying to use Haskell in as many classes as possible, ...

> you better fire up Notepad.exe. ... some decent syntax highlighting,

Hi Todd, and Mig, I too feel your pain. And Windows seems to have always been a neglected child in distros -- even when SPJ was actually sponsored by MSoft.

If you're only trying to give a flavour of Haskell for (say) a few weeks intro, I don't see that you even need all the drama of ghcup.

Perhaps just ignore what it says on the GHC download pages, and grab the compiler plus minimal libraries. Then you can either defer a 'proper' install until students are motivated enough to go through the pain; or don't bother/they've gone on to other subjects.

I agree syntax highlighting is very helpful for newbies: I use NotePad++ for editing and not even VSCode for compiling, but GHCi.

I suspect these fully integrated dev environments are quite confusing for newbies. (Unless they've already experienced them with other languages.) Hard for me to be sure: they simply weren't a thing when I learned Haskell. These days I have installed VSCode; I seldom use it (just way too much clutter around the screen).


AntC
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.