From 065be44e07cfeaf6e9c86d84eb6bb73b5f4f6337 Mon Sep 17 00:00:00 2001 From: ilsix Date: Thu, 4 Apr 2024 23:01:46 +0200 Subject: [PATCH] Tested Haskell --- haskell/helloworld.hs | 1 + haskell/test.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100755 haskell/test.sh diff --git a/haskell/helloworld.hs b/haskell/helloworld.hs index 66937d0..63cb01c 100644 --- a/haskell/helloworld.hs +++ b/haskell/helloworld.hs @@ -1 +1,2 @@ +--compiles and runs successfully main = putStrLn "Hello World!" \ No newline at end of file diff --git a/haskell/test.sh b/haskell/test.sh new file mode 100755 index 0000000..038d97c --- /dev/null +++ b/haskell/test.sh @@ -0,0 +1,3 @@ +#!/bin/bash +ghc helloworld.hs +./helloworld \ No newline at end of file