Skip to content

Commit b407919

Browse files
authored
Fixing a few typos in Solution.hs (#28)
Just fixing a few typos in Solution.hs for Homework08. Thank you for this great course.
1 parent fe30fb7 commit b407919

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Homework08/Solution.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ wine3 = Rose 12 :: Kind
4242

4343
-- Question 4
4444
-- In the world of wines, bottles display all of the above information for the consumer on its label.
45-
-- Create a record type called "Label" that captures the grapes that are in a whine, the region its from,
46-
-- and it's kind. Notice that some wines are a blended combination of multiple grapes!
45+
-- Create a record type called "Label" that captures the grapes that are in a wine, the region it's from,
46+
-- and its kind. Notice that some wines are a blended combination of multiple grapes!
4747
-- Additionally, create for each of the described wine below a label.
4848

4949
data Label = Label {
@@ -58,12 +58,12 @@ data Label = Label {
5858

5959
larrosaRose = Label {grapes = [grape4], region = region3, kind = Rose 14 }
6060

61-
-- Castiglioni is a red wine from the region of Tuscany. It is made from the the grape Sangiovese and
61+
-- Castiglioni is a red wine from the region of Tuscany. It is made from the grape Sangiovese and
6262
-- has a alcohol level of 12.5%.
6363

6464
castiglioni = Label {grapes = [grape1], region = region2, kind = Red 12.5 }
6565

66-
-- Bordeaux is know for its red wine, these are mainly a blend between Cabernet-sauvignon and Merlot.
66+
-- Bordeaux is known for its red wine, these are mainly a blend between Cabernet-sauvignon and Merlot.
6767
-- Create a Label for the wine "Le Petit Haut Lafitte" that has an alcohol percentage 13.5%.
6868

6969
lePetitHaitLafitte = Label {grapes = [grape2, grape3], region = region1, kind = Red 13.5 }
@@ -77,4 +77,4 @@ containsGrape labels grape = any (\Label{grapes=xs} -> grape `elem` xs) labels
7777

7878
-- This is a test list for the `containsGrape` function with an grape that is not in the list.
7979
grapeList = [larrosaRose,castiglioni,lePetitHaitLafitte]
80-
newGrape = "Pinot Noir"
80+
newGrape = "Pinot Noir"

0 commit comments

Comments
 (0)