on master help sign in
that's not how you spell "high five"!
commit01a5b1d8c23136c02ed3123362bed480bb341af5 authorEvan Czaplicki <info@elm-lang.org> dateWed 11 Dec 2013, 23:54 (13 years ago) parent6768b0e
1 file changed+1−1
libraries/List.elm+1−1
libraries/List.elm+1−1
@@ -243,7 +243,7 @@ chuck = { name="Chuck", height=1.76 }
243243sortBy .name [chuck,alice,bob] == [alice,bob,chuck]
244244sortBy .height [chuck,alice,bob] == [alice,chuck,bob]
245245
246−sortBy String.length ["five","hi"] == ["hi","five"]
246+sortBy String.length ["mouse","cat"] == ["cat","mouse"]
247247```
248248-}
249249sortBy : (a -> comparable) -> [a] -> [a]