Difference between revisions of "Haskell"
From Organic Design wiki
(Created page with notes on how to get started with Haskell.) |
m (Link to Haskell website.) |
||
Line 1: | Line 1: | ||
− | Haskell is a functional programming langauge used in [[Cardano]]. | + | [https://www.haskell.org/ Haskell] is a functional programming langauge used in [[Cardano]]. |
== Getting Started == | == Getting Started == |
Revision as of 21:49, 5 March 2021
Haskell is a functional programming langauge used in Cardano.
Getting Started
Install the Haskell platform with:
sudo apt-get install haskell-platform
Then run the interpreter via:
ghci
Quitting the Haskell interpreter is the same as vim: :q or :quit.
You can write Haskell in .hs files then compile using ghc like so:
ghc -o hello hello.hs
And then you can run via the executable file ./hello.