DEV Community

Discussion on: VS Code for Haskell in 2020

Collapse
 
egregors profile image
Egregors

This is looks like some network failure. Just checked clean install stack dependencies on the Windows, and all seems works (Windows 10 Pro, x64). Please, check your network and try again. If you'll got this error one more time, could you please sent me more information about your system and setups?

Collapse
 
jasonsbarr profile image
Jason Barr

It turns out I needed to run stack update to get current resolver values. I finally figured it out earlier today.

It took 2+ days to find a resource that mentioned doing this (it was a Github issue thread for some other project, the name of which escapes me at the moment). Not a single one of the tutorials I found on setting up VS Code for Haskell or otherwise getting started with Haskell/Stack mentioned it.

If I didn't really want to learn Haskell I would have skipped out much earlier.

Collapse
 
jasonsbarr profile image
Jason Barr • Edited

By the way, intero is no longer being developed and will likely stop working with some unspecified future version of GHC, which means Haskelly will also not fully work anymore.

I installed haskell-ide-helper and the VSCode Haskell language server extension instead of intero and Haskelly on the advice of vacationlabs.com/haskell/environme..., which I found after the aforementioned Github issue thread.