We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d92fd17 + d3c9073 commit d2c6653Copy full SHA for d2c6653
exercises/allergies/HINTS.md
@@ -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
@@ -1,8 +1,5 @@
module Allergies (Allergen(..), allergies, isAllergicTo) where
--- The task is to create the data type `Allergen`, with `Eq`
--- and `Show` instances, and implement the functions below.
-
allergies :: Int -> [Allergen]
allergies = undefined
0 commit comments