Skip to content

Commit b2548e1

Browse files
authored
hello-world: don't call String hello a function (#1148)
Although function values and non-function values (and the variables bound to them) have a lot in common in Haskell, we shouldn't call all of them "functions". The discussion at https://forum.exercism.org/t/is-a-string-value-in-haskell-a-function/4034 resulted in this conclusion exercism/problem-specifications#1850 exercism/problem-specifications#1926
1 parent 77a68cb commit b2548e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hints
22

3-
To complete this exercise, you need to implement the `hello` function.
3+
To complete this exercise, you need to define the constant `hello`.
44

55
You will find the type signature for `hello` already in place,
6-
but it is up to you to define the function.
6+
but it is up to you to define its value.

exercises/practice/hello-world/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ or environment.
88

99
The objectives are simple:
1010

11-
- Write a function that returns the string "Hello, World!".
11+
- Modify the provided code so that it produces the string "Hello, World!".
1212
- Run the test suite and make sure that it succeeds.
1313
- Submit your solution and check it at the website.
1414

0 commit comments

Comments
 (0)