on master help sign in
Fix typos in hints/comparing-records.md
cc88157Jeroen Engels
hints/comparing-records.md+3−3
@@ -7,7 +7,7 @@ This page aims to catalog these scenarios and offer alternative paths that can g
7
7
8## Sorting Records
8## Sorting Records
9
9
10−Say we want a `view` function that can show a list of students sorted by different characterists.
10+Say we want a `view` function that can show a list of students sorted by different characteristics.
11
11
12We could create something like this:
12We could create something like this:
13
13
@@ -23,7 +23,7 @@ type alias Student =
23type Order = Name | Age | GPA
23type Order = Name | Age | GPA
24
24
25viewStudents : Order -> List Student -> Html msg
25viewStudents : Order -> List Student -> Html msg
26−viewStudents order studentns =
26+viewStudents order students =
27 let
27 let
28 orderlyStudents =
28 orderlyStudents =
29 case order of
29 case order of
@@ -54,7 +54,7 @@ type alias Student =
54 }
54 }
55
55
56viewStudents : Order -> List Student -> Html msg
56viewStudents : Order -> List Student -> Html msg
57−viewStudents order studentns =
57+viewStudents order students =
58 let
58 let
59 orderlyStudents =
59 orderlyStudents =
60 case order of
60 case order of