Skip to content

Commit

Permalink
Add Haskell hello world (#34) (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Gaist authored and DaylightFox committed Oct 6, 2018
1 parent ef190e8 commit 9067522
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Haskell/main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
main = putStrLn "Hello World"
9 changes: 9 additions & 0 deletions Haskell/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
To compile:

$ ghc -o hello hello.hs

Then you can then run the executable:

$ ./hello
Hello, World!

0 comments on commit 9067522

Please sign in to comment.