Reputation: 2873
I already installed haskell from here.
I can use haskell from my terminal by typing ghci
but I don't know how to open my .hs files.
Upvotes: 0
Views: 2289
Reputation: 1741
They are just normal text files; use whichever text editor you use for other languages.
If you want to load it into ghci
, use :l file.hs
or :load file.hs
Upvotes: 1