We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65cea00 commit 2265e4dCopy full SHA for 2265e4d
src/Dict.elm
@@ -534,11 +534,11 @@ foldl func acc dict =
534
535
import Dict exposing (Dict)
536
537
- getAges : Dict String User -> List String
+ getAges : Dict String User -> List Int
538
getAges users =
539
Dict.foldr addAge [] users
540
541
- addAge : String -> User -> List String -> List String
+ addAge : String -> User -> List Int -> List Int
542
addAge _ user ages =
543
user.age :: ages
544
0 commit comments