on master help sign in
Fix typos in hints/comparing-records.md
commitcc88157cdbe6689919ac34bdbd5bccc3bb30ffba authorJeroen Engels <jfm.engels@gmail.com> dateSun 20 Oct 2019, 11:14 (7 years ago) parent8650df1
1 file changed+3−3
hints/comparing-records.md+3−3
hints/comparing-records.md+3−3
@@ -7,7 +7,7 @@ This page aims to catalog these scenarios and offer alternative paths that can g
77
88## Sorting Records
99
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.
1111
1212We could create something like this:
1313
@@ -23,7 +23,7 @@ type alias Student =
2323type Order = Name | Age | GPA
2424
2525viewStudents : Order -> List Student -> Html msg
26−viewStudents order studentns =
26+viewStudents order students =
2727 let
2828 orderlyStudents =
2929 case order of
@@ -54,7 +54,7 @@ type alias Student =
5454 }
5555
5656viewStudents : Order -> List Student -> Html msg
57−viewStudents order studentns =
57+viewStudents order students =
5858 let
5959 orderlyStudents =
6060 case order of