From 3db7dd2ad5c6a5baef04c655cd05e5fb1733c9d4 Mon Sep 17 00:00:00 2001 From: "exercism-solutions-syncer[bot]" <211797793+exercism-solutions-syncer[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 02:02:02 +0000 Subject: [PATCH] [Sync Iteration] haskell/hello-world/1 --- solutions/haskell/hello-world/1/package.yaml | 21 +++++++++++++++++++ .../haskell/hello-world/1/src/HelloWorld.hs | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 solutions/haskell/hello-world/1/package.yaml create mode 100644 solutions/haskell/hello-world/1/src/HelloWorld.hs diff --git a/solutions/haskell/hello-world/1/package.yaml b/solutions/haskell/hello-world/1/package.yaml new file mode 100644 index 0000000..20feca0 --- /dev/null +++ b/solutions/haskell/hello-world/1/package.yaml @@ -0,0 +1,21 @@ +name: hello-world +version: 1.1.0.5 + +dependencies: + - base + +library: + exposed-modules: HelloWorld + source-dirs: src + ghc-options: -Wall + # dependencies: + # - foo # List here the packages you + # - bar # want to use in your solution. + +tests: + test: + main: Tests.hs + source-dirs: test + dependencies: + - hello-world + - hspec diff --git a/solutions/haskell/hello-world/1/src/HelloWorld.hs b/solutions/haskell/hello-world/1/src/HelloWorld.hs new file mode 100644 index 0000000..3dcb711 --- /dev/null +++ b/solutions/haskell/hello-world/1/src/HelloWorld.hs @@ -0,0 +1,4 @@ +module HelloWorld (hello) where + +hello :: String +hello = "Hello, World!"