Last active
August 29, 2015 14:06
-
-
Save gyk/86c05ecb4708852bfa80 to your computer and use it in GitHub Desktop.
Sublime Text 2 + ghci on Windows, running Haskell script in a standalone command window
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- %APPDATA%\ghc\ghci.conf | |
:set prompt "> " | |
:set prompt2 "> > " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["D:\\Program Files\\Sublime Text 2.0.2\\Data\\Packages\\Haskell\\run-ghci.bat", "$file"], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"shell":true, | |
"selector": "source.haskell" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start "GHCI" "D:\\Program Files (x86)\\Haskell Platform\\2013.2.0.0\\bin\\ghci.exe" %1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment