Skip to content

Commit d2c6653

Browse files
authored
Merge pull request #324 from rbasso/allergies-move-hints
allergies: Move hints to HINTS.md
2 parents d92fd17 + d3c9073 commit d2c6653

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

exercises/allergies/HINTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Hints
2+
3+
To complete this exercise you need to to create the data type `Allergen`,
4+
with `Eq` and `Show` instances, and implement the following functions:
5+
6+
- `allergies`
7+
- `isAllergicTo`
8+
9+
Your can use the provided signatures if you are unsure about the types, but
10+
don't let them restrict your creativity.

exercises/allergies/src/Allergies.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
module Allergies (Allergen(..), allergies, isAllergicTo) where
22

3-
-- The task is to create the data type `Allergen`, with `Eq`
4-
-- and `Show` instances, and implement the functions below.
5-
63
allergies :: Int -> [Allergen]
74
allergies = undefined
85

0 commit comments

Comments
 (0)