Brandon Zamudio
Brandon Zamudio

Reputation: 2873

How can I open a haskell file (.hs) in Mac?

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

Answers (1)

Lazersmoke
Lazersmoke

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

Related Questions