Skip to content

Instantly share code, notes, and snippets.

@gyk
Last active August 29, 2015 14:06
Show Gist options
  • Save gyk/86c05ecb4708852bfa80 to your computer and use it in GitHub Desktop.
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
-- %APPDATA%\ghc\ghci.conf
:set prompt "> "
:set prompt2 "> > "
{
"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"
}
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