josephmisiti / haskell-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packages

Compile Haskell

To compile haskell, use

ghc -o <output-exe-name> <input-file.hs>

To run haskell like a script, use

runghc <input-file.hs>

Haskell Pacakges

To install packages in haskell, you need cabel:

brew install cabal-install

Cabal

First you need to update calab:

cabal update

And to install something:

cabal new-install json --leb

About


Languages

Language:Haskell 88.4%Language:Makefile 11.6%