elm-community / list-extra

Convenience functions for working with List.

Home Page:http://package.elm-lang.org/packages/elm-community/list-extra/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`group` example in docs returns wrong type

Janiczek opened this issue · comments

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

Thanks! I didnt notice this. Yeah in 8.0.0 the group functions changed pretty fundamentally. I'll fix this soon.

I think we should start using elm-verify-examples so that this will not happen in the future. See issue #50.

Sounds good to me. Ilias recommended that too. Lets do it.

We are using elm-verify-examples now, and this particular issue was resolved.