haskellhugs

How to Install Hugs Compiler in ubuntu?


I want to program in Haskel, a functional programming language and I want to install Hugs compiler for that in Ubuntu. Does anybody have any idea about it's installation.


Solution

  • To install hugs compiler in Ubuntu you just need to execute two under given commands.

    sudo apt-get update
    sudo apt-get install hugs

    To start working with hugs, type hugs in terminal and start working with it. Type :? for help. To terminate it, type :quit.