`group` example in docs returns wrong type
Janiczek opened this issue · comments
Martin Janiczek commented
group
returns List (a, List a)
but the example doesn't reflect that:
group [1,2,2,3,3,3,2,2,1] == [[1],[2,2],[3,3,3],[2,2],[1]]
Chadtech commented
Thanks! I didnt notice this. Yeah in 8.0.0
the group functions changed pretty fundamentally. I'll fix this soon.
Palmer Paul commented
I think we should start using elm-verify-examples so that this will not happen in the future. See issue #50.
Chadtech commented
Sounds good to me. Ilias recommended that too. Lets do it.
Chadtech commented
We are using elm-verify-examples now, and this particular issue was resolved.