Open
Description
I like to use "single cabal script" a lot for small examples, e.g.:
$ cat ~/Templates/cabalscript.hs
:
#!/usr/bin/env cabal
{- cabal:
build-depends: base
-}
main = do
putStrLn "Hello World!"
_ <- readLn :: IO String
return ()
If one could test this by typing "C-c C-l" that'd grand, since cabal pull in all the dependencies encoded in the special comments area. I suspect we need a new type for haskell-process-type
?
Also any pointer to where to look at for start hacking on it?
Edit: I have found a workaround of using the filename itself as the cabal-repl target.
Metadata
Metadata
Assignees
Labels
No labels