@@ -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