elm-cookbook icon indicating copy to clipboard operation
elm-cookbook copied to clipboard

`Tuple comparable comparable` should be `( a, b )` and `( a, b, c )`

Open lue-bird opened this issue 3 years ago • 0 comments

Under "Answer" in "What are comparable types?":

..., Tuple comparable comparable and ... are comparable types.

Tuple isn't an actual type. I suggest changing it to

..., ( comparableA, comparableB ), ( comparableA, comparableB, comparableC ) tuples and ... are comparable types.

Which also makes it clear that both comparables can be different.

lue-bird avatar Nov 13 '21 09:11 lue-bird