[Haskell-beginners] runghc question
iand675 at gmail.com
Wed Apr 8 11:30:20 EDT 2009
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:
>main = putStrLn "FOO"
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?
More information about the Beginners