Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions solutions/haskell/hello-world/1/package.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions solutions/haskell/hello-world/1/src/HelloWorld.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module HelloWorld (hello) where

hello :: String
hello = "Hello, World!"