
8 Apr
2009
8 Apr
'09
11:30 a.m.
I'm writing a script for TextMate using Haskell, and I don't know how to get it to work with runghc. Here's the script: #!/usr/local/bin/runghc
module Main where import System.Cmd
main = putStrLn "FOO"
{- do c <- getContents system ("/Users/ian/.cabal/bin/pointfree \"" ++ c ++ "\"") -} How do I get it to treat this as an lhs file rather than an hs file if there is no extension to the filename? Is there an argument for this? Ian Duncan

8 Apr
8 Apr
12:05 p.m.
Perhaps `-x` ? -x suffix Override default behaviour for source files -- Jason Dusek
5886
Age (days ago)
5886
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ian Duncan
-
Jason Dusek