I certainly feel your pain. It is very frustrating that there are so many Haskell-related tools that assume you're working on a Stack project, or at least a Cabal one (personally, I've never understood the point of Stack at all), and if you want to just open a new file and start hacking your PoC, you better fire up Notepad.exe. It is possible to setup VSCode so that you can at least have some decent syntax highlighting, but even that isn't something immediately obvious.

Sent from my iPad

On 2023. Feb 22., at 1:00, Todd Wilson <twilson@csufresno.edu> wrote:


Sigh. As a college educator who is trying to use Haskell in as many classes as possible, I am still disheartened by how much effort is required by students to get the toolchain and additional libraries installed and working on their various platforms. I usually have to waste time during the first two or three weeks of class (and this semester it has extended to more than four) with students over this, whereas instead I should be able to send out a link before my class begins and expect that almost all of them will have everything installed on the first day. I know this topic has been discussed here and elsewhere, and that there are efforts underway to improve the situation, but I just want to make a plug again for easy Haskell installation for beginners. Diversity in the ecosystem is great, but for people trying to get started, there should be one simple and surefire way to get up and running, with a clear path later for upgrading the environment in any number of different directions.

On Tue, Feb 21, 2023 at 3:26 PM Dominick Samperi <djsamperi@gmail.com> wrote:
I watched an interesting YouTube video explaining how to install and use
the Haskell extension in VS code, but the information appears to be
obsolete, because there is no mention of ghcup, and ghcup is now
required, along with a new version of the Haskell extension (the old one
is labeled "legacy").

Unfortunately, I could not install ghcup on Windows due to obscure PowerShell
security issues, or missing libraries in MSYS. While wrestling with this problem
I discovered that Unix tools from Rtools must not be in PATH while working
with Stack, probably due to incompatible MSYS versions. But removing Rtools
from PATH does not resolve the ghcup installation problems.

Any tips on ghcup installation under Windows would be appreciated.

Thanks,
Dominick
_______________________________________________
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.
_______________________________________________
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.