I really searched on this one. (E/TextMate is the closest I found in this topic, but it doesn't seem to be that big of deal)
I tried emacs, but I don't seem to find a Haskell Mode for Windows.. VisualHaskell doesn't seem to follow the new VisualStudio updates...
I could try VIM, but does the Haskell Mode works for Windows there?
Sigh... All the time the 'close but no cigare' feeling.
Is there actually so out there programming Haskell under Windows?
Leksah is an IDE for Haskell written in Haskell. Leksah is intended as a practical tool to support the Haskell development process. Leksah uses GTK+ as GUI Toolkit with the gtk2hs binding. It is platform independent and should run on any platform where GTK+, gtk2hs and GHC can be installed.
Using on WindowsOpen the command palette (ctrl/cmd+shift+P) and run ide-haskell-repl:setup-ghci-wrapper command. This will download ghci-wrapper.exe , place it into Atom's user directory, and change ide-haskell-repl configuration to use it.
Haskell for Visual Studio Code. This extension adds language support for Haskell, powered by the Haskell Language Server. As almost all features are provided by the server you might find interesting read its documentation.
To set up Haskell environment on your Windows computer, go to their official website https://www.haskell.org/platform/windows.html and download the Installer according to your customizable architecture. Check out your system's architecture and download the corresponding setup file and run it.
I think the main IDE-ish options for Windows are, in order:
I use option 4.
Tip for Emacs on Windows:
D:\
D:\ntemacs24\bin\runemacs.exe
and run EmacsC:\Users\UserName\AppData\Roaming\.emacs.d\
haskell-mode
and put in it files: haskell-mode.el
, haskell-font-lock.el
, haskell-doc.el
from Haskell mode for Emacs ..\emacs.d\
create a file init.el
First 8 lines are optional and depend on the preferences.
(tool-bar-mode -1) (scroll-bar-mode -1) (setq-default truncate-lines t) (setq line-number-mode t) (setq column-number-mode t) (set-keyboard-coding-system 'cp1250) (prefer-coding-system 'windows-1250) (set-face-attribute 'default nil :font "Consolas-11") (setq-default indent-tabs-mode nil) (setq default-tab-width 4) (load "~/.emacs.d/haskell-mode/haskell-mode") (add-to-list 'auto-mode-alist '("\\.hs\\'" . haskell-mode)) (add-to-list 'auto-mode-alist '("\\.lhs\\'" . literate-haskell-mode)) (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
That's it!
Ps Komodo Edit has syntax support for Haskell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With