We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the foldr documentation the function getAges it says it returns a List String.
getAges
List String
However in the commented return value we have:
-- getAges users == [28,19,33]
Which would suggest the actual return type is List Int.
List Int
It's fairly harmless but might be enough to cause folks a head scratch moment like it did for me.
We can either type the example code as List Int or change the commented return code as:
-- getAges users == ["28","19","33"]
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
Sorry, something went wrong.
same for foldl
No branches or pull requests
In the foldr documentation the function
getAges
it says it returns a
List String
.However in the commented return value we have:
-- getAges users == [28,19,33]
Which would suggest the actual return type is
List Int
.It's fairly harmless but might be enough to cause folks a head scratch moment like it did for me.
We can either type the example code as
List Int
or change the commented return code as:-- getAges users == ["28","19","33"]
The text was updated successfully, but these errors were encountered: