1 2 3 4 5 6
import System.Environment -- Make sure that getExecutablePath works on Windows. See #16466. main :: IO () main = () <$ getExecutablePath