
This is a question I am often asking myself as well. Here are a few points:
1. definitely install MSYS2
see links here http://www.haskell.org/haskellwiki/Windows
2. I used Sublime Text 2 as well, switched to 3 now and it works great so
far
3. Yes, installing the dev tools is a pain on Windows. It almost never just
works. I install dev tools into the user space and always use sandboxes for
projects. Currently I managed to install the following versions. You have
to use these specific versions.
aeson-0.7.0.6
ghc-mod-4.1.6
haddock-2.14.3
haskell-docs-4.2.2
haskell-src-exts-1.15.0.1
hasktags-0.69.0
hlint-1.9.4
I could never get codex to work on Windows with Haskell Platform.
4. I also recommend ghc-vis package, which only today I managed to
successfully install:
http://felsin9.de/nnis/ghc-vis/installing-windows/
-- do not use `--enable-shared` in the last command
ghc-heap-view-0.5.3
ghc-vis-0.7.2.5
5. with hdevtools, you have to get the windows fork and pull one of the
branches which makes it work with GHC-7.8.3 (I forgot exactly which one I
pulled from). The fork is not maintained. I am hoping that `ghc-modi` will
eventually replace `hdevtools` for SublimeHaskell.
Hope that helps to get you going. On Linux everything just works when you
get GHC and cabal-install.
Cheers,
Michal
On Thu, Oct 9, 2014 at 9:15 PM, Alistair Bayley
What is the current advice for getting a haskell dev env set up on windows? There's a lot of options, and it can be hard to quickly determine which are current and which are deprecated/bit-rotted.
For example, apparently cabal sandbox is preferred over cabal-dev these days.
I've read: http://onoffswitch.net/started-haskell/ http://stackoverflow.com/questions/304614/haskell-on-windows-setup http://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html http://bob.ippoli.to/archives/2013/01/11/getting-started-with-haskell/
I've installed the latest haskell platform (2014.2), and am using Sublime Text 2 as my editor. SublimeHaskell is installed, but apparently it needs aeson, haskell-src-ext, and haddock. cabal install aeson indicates that it will break unordered-containers-0.2.4.0 and case-insensitive-1.1.0.3, so I must use --force-reinstalls to get it. I'm doing this in a sandbox, in case it is a terrible idea.
https://github.com/SublimeHaskell/SublimeHaskell
Not yet sure how I'm going to get the sandbox install of these tools to work with SublimeHaskell. Presumably some PATH magic?
hdevtools looks cool and seems like it can be used from SublimeHaskell, although a windows install is from a fork. Will install ghc-mod too.
What else am I missing?
Thanks, Alistair
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe